; ; sub_180041EA0 from 0x180041ea0 to 0x180041f37 (151 bytes) ; ; 7 xrefs: ; > sub_180045B60 @ 0x180045d53 ; > sub_180045B60 @ 0x180045d97 ; > sub_180046250 @ 0x1800462be ; > sub_180046250 @ 0x1800463c4 ; > sub_180046250 @ 0x180046520 ; > sub_180046810 @ 0x1800469f0 ; > @ 0x1801f8004 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; mov [rsp+arg_0], rbx ; +0x0, 0x180041ea0 mov [rsp+arg_8], rsi ; +0x5, 0x180041ea5 push rdi ; +0xa, 0x180041eaa sub rsp, 30h ; +0xb, 0x180041eab mov rsi, r8 ; +0xf, 0x180041eaf mov rbx, rdx ; +0x12, 0x180041eb2 mov rdi, rcx ; +0x15, 0x180041eb5 cmp r9d, 20h ; ' ' ; +0x18, 0x180041eb8 jbe short loc_180041EFB ; +0x1c, 0x180041ebc add r9d, 0FFFFFFE0h ; +0x1e, 0x180041ebe lea r8, [rsp+38h+var_18] ; +0x22, 0x180041ec2 call sub_180041D20 ; +0x27, 0x180041ec7 test eax, eax ; +0x2c, 0x180041ecc jz short loc_180041F09 ; +0x2e, 0x180041ece mov r9d, 20h ; ' ' ; +0x30, 0x180041ed0 lea r8, [rsp+38h+arg_18] ; +0x36, 0x180041ed6 mov rdx, rbx ; +0x3b, 0x180041edb mov rcx, rdi ; +0x3e, 0x180041ede call sub_180041D20 ; +0x41, 0x180041ee1 test eax, eax ; +0x46, 0x180041ee6 jz short loc_180041F09 ; +0x48, 0x180041ee8 mov ecx, [rsp+38h+var_18] ; +0x4a, 0x180041eea mov eax, [rsp+38h+arg_18] ; +0x4e, 0x180041eee shl rcx, 20h ; +0x52, 0x180041ef2 or rcx, rax ; +0x56, 0x180041ef6 jmp short loc_180041F1F ; +0x59, 0x180041ef9 lea r8, [rsp+38h+arg_18] ; +0x5b, 0x180041efb call sub_180041D20 ; +0x60, 0x180041f00 test eax, eax ; +0x65, 0x180041f05 jnz short loc_180041F1B ; +0x67, 0x180041f07 xor eax, eax ; +0x69, 0x180041f09 mov rbx, [rsp+38h+arg_0] ; +0x6b, 0x180041f0b mov rsi, [rsp+38h+arg_8] ; +0x70, 0x180041f10 add rsp, 30h ; +0x75, 0x180041f15 pop rdi ; +0x79, 0x180041f19 retn ; +0x7a, 0x180041f1a mov ecx, [rsp+38h+arg_18] ; +0x7b, 0x180041f1b mov [rsi], rcx ; +0x7f, 0x180041f1f mov eax, 1 ; +0x82, 0x180041f22 mov rbx, [rsp+38h+arg_0] ; +0x87, 0x180041f27 mov rsi, [rsp+38h+arg_8] ; +0x8c, 0x180041f2c add rsp, 30h ; +0x91, 0x180041f31 pop rdi ; +0x95, 0x180041f35 retn ; +0x96, 0x180041f36