; assembly | /* r2dec pseudo code output */ | /* balcl_commandline.t/assume @ 0x46c430 */ | #include | ; (fcn) method.BloombergLP::balcl._anonymous_namespace_::u::ScalarConstraint_int__bsl::function_bool__int_const__std::__1::basic_ostream_char__std::__1::char_traits_char_______3_::parse_BloombergLP::balcl::OptionValue__std::__1::basic_ostream_char__std::__1:: () | uint64_t method_BloombergLP::balcl_anonymous_namespace_::u::ScalarConstraint_int_bsl::function_bool_int_const_std::_1::basic_ostream_char_std::_1::char_traits_char_3_::parse_BloombergLP::balcl::OptionValue_std::_1::basic_ostream_char_std::_1:: (int64_t arg4, int64_t arg3, int64_t arg2, int64_t arg1) { | int64_t var_ch; | int64_t var_10h; | int64_t var_28h; | size_t var_30h; | rcx = arg4; | rdx = arg3; | rsi = arg2; | rdi = arg1; | /* BloombergLP::balcl::(anonymous namespace)::u::ScalarConstraint >&)>, 3>::parse(BloombergLP::balcl::OptionValue*, std::__1::basic_ostream >&, bsl::basic_string, bsl::allocator > const&) const */ 0x0046c430 push r15 | 0x0046c432 push r14 | 0x0046c434 push r12 | 0x0046c436 push rbx | 0x0046c437 sub rsp, 0x38 | 0x0046c43b mov rbx, rcx | rbx = rcx; 0x0046c43e mov r14, rdx | r14 = rdx; 0x0046c441 mov r15, rsi | r15 = rsi; 0x0046c444 mov r12, rdi | r12 = rdi; 0x0046c447 mov rdi, rsi | 0x0046c44a call 0x465e70 | BloombergLP::balcl::OptionValue::type()const (rsi); 0x0046c44f mov dword [rsp + 0xc], 0 | *((rsp + 0xc)) = 0; 0x0046c457 cmp qword [rbx + 0x20], 0x17 | 0x0046c45c mov rdi, rbx | rdi = rbx; | if (*((rbx + 0x20)) != 0x17) { 0x0046c45f je 0x46c464 | 0x0046c461 mov rdi, qword [rbx] | | } 0x0046c464 mov qword [rsp + 0x28], rdi | *((rsp + 0x28)) = rdi; 0x0046c469 call 0x4046c0 | rax = strlen (*(rbx)); 0x0046c46e mov qword [rsp + 0x30], rax | *((rsp + 0x30)) = rax; 0x0046c473 xorps xmm0, xmm0 | __asm ("xorps xmm0, xmm0"); 0x0046c476 movaps xmmword [rsp + 0x10], xmm0 | *((rsp + 0x10)) = xmm0; 0x0046c47b lea rdi, [rsp + 0xc] | 0x0046c480 lea rsi, [rsp + 0x10] | 0x0046c485 lea rdx, [rsp + 0x28] | 0x0046c48a mov ecx, 0xa | 0x0046c48f call 0x4719e0 | eax = BloombergLP::bdlb::NumericParseUtil::parseInt(int*,std::_1::basic_string_view>*,std::_1::basic_string_view>const&,int) (rsp + 0xc, rsp + 0x10, rsp + 0x28, 0xa); 0x0046c494 test eax, eax | | if (eax != 0) { 0x0046c496 je 0x46c4fc | 0x0046c498 mov esi, 0x4b3c88 | 0x0046c49d mov edx, 8 | 0x0046c4a2 mov rdi, r14 | 0x0046c4a5 call 0x455a90 | rax = std::_1::basic_ostream>&std::_1::_put_character_sequence>(std::_1::basic_ostream>&,char const*,unsigned long) (r14, "An 'int', 8); 0x0046c4aa mov esi, 0x4b3c5d | 0x0046c4af mov edx, 0x21 | 0x0046c4b4 mov rdi, rax | 0x0046c4b7 call 0x455a90 | rax = std::_1::basic_ostream>&std::_1::_put_character_sequence>(std::_1::basic_ostream>&,char const*,unsigned long) (rax, " value was expected, instead of \", 0x21); 0x0046c4bc mov rdi, rax | 0x0046c4bf mov rsi, rbx | 0x0046c4c2 call 0x44fd10 | rax = std::_1::basic_ostream>&bsl::operator << ,bsl::allocator>(std::_1::basic_ostream>&,bsl::basic_string,bsl::allocator>const&) (rax, rbx); 0x0046c4c7 mov esi, 0x4afd15 | 0x0046c4cc mov edx, 1 | 0x0046c4d1 mov rdi, rax | 0x0046c4d4 call 0x455a90 | rax = std::_1::basic_ostream>&std::_1::_put_character_sequence>(std::_1::basic_ostream>&,char const*,unsigned long) (rax, 0x4afd15, 1); 0x0046c4d9 mov byte [rsp + 0x10], 0xa | *((rsp + 0x10)) = 0xa; 0x0046c4de lea rsi, [rsp + 0x10] | 0x0046c4e3 mov edx, 1 | 0x0046c4e8 mov rdi, rax | 0x0046c4eb call 0x455a90 | rax = std::_1::basic_ostream>&std::_1::_put_character_sequence>(std::_1::basic_ostream>&,char const*,unsigned long) (rax, rsp + 0x10, 1); 0x0046c4f0 mov rdi, rax | rdi = rax; 0x0046c4f3 call 0x404980 | eax = std::_1::basic_ostream>::flush() (); 0x0046c4f8 xor eax, eax | eax = 0; 0x0046c4fa jmp 0x46c518 | | } else { 0x0046c4fc mov eax, dword [rsp + 0xc] | eax = *((rsp + 0xc)); 0x0046c500 mov dword [r15], eax | *(r15) = eax; 0x0046c503 mov byte [r15 + 4], 1 | *((r15 + 4)) = 1; 0x0046c508 mov rax, qword [r12] | rax = *(r12); 0x0046c50c mov rdi, r12 | rdi = r12; 0x0046c50f mov rsi, r15 | rsi = r15; 0x0046c512 mov rdx, r14 | rdx = r14; 0x0046c515 call qword [rax + 0x28] | uint64_t (*rax + 0x28)() (); | } 0x0046c518 add rsp, 0x38 | 0x0046c51c pop rbx | 0x0046c51d pop r12 | 0x0046c51f pop r14 | 0x0046c521 pop r15 | 0x0046c523 ret | return rax; | }