; assembly | /* r2dec pseudo code output */ | /* balber_berdecoder.t/none @ 0x45b5a0 */ | #include | ; (fcn) method.BloombergLP::s_baltst::MyEnumeration.toString_BloombergLP::s_baltst::MyEnumeration::Value_ () | int64_t method_BloombergLP::s_baltst::MyEnumeration_toString_BloombergLP::s_baltst::MyEnumeration::Value_ (uint32_t arg1) { | rdi = arg1; | /* BloombergLP::s_baltst::MyEnumeration::toString(BloombergLP::s_baltst::MyEnumeration::Value) */ 0x0045b5a0 xor ecx, ecx | ecx = 0; 0x0045b5a2 cmp edi, 1 | 0x0045b5a5 mov eax, 0x498df4 | eax = "VALUE2"; | if (edi == 1) { 0x0045b5aa cmove rcx, rax | rcx = rax; | } 0x0045b5ae test edi, edi | 0x0045b5b0 mov eax, 0x498ddc | eax = "VALUE1"; | if (edi != 0) { 0x0045b5b5 cmovne rax, rcx | rax = rcx; | } 0x0045b5b9 ret | return rax; | }