; ; sub_18004F2D0 from 0x18004f2d0 to 0x18004f356 (134 bytes) ; ; 4 xrefs: ; > @ 0x180166eb8 ; > @ 0x180181a80 ; > @ 0x180181a90 ; > @ 0x1801f888c ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 10:53:16 +0000 ; mov [rsp+arg_8], rbx ; +0x0, 0x18004f2d0 push rsi ; +0x5, 0x18004f2d5 sub rsp, 30h ; +0x6, 0x18004f2d6 movsxd rbx, dword ptr [rsp+38h+arg_28] ; +0xa, 0x18004f2da xor r11d, r11d ; +0xf, 0x18004f2df mov rsi, rcx ; +0x12, 0x18004f2e2 test rbx, rbx ; +0x15, 0x18004f2e5 jle short loc_18004F349 ; +0x18, 0x18004f2e8 mov [rsp+38h+arg_0], rdi ; +0x1a, 0x18004f2ea mov eax, r11d ; +0x1f, 0x18004f2ef mov rdi, [rsp+38h+arg_20] ; +0x22, 0x18004f2f2 mov r10, r9 ; +0x27, 0x18004f2f7 nop word ptr [rax+rax+00h] ; +0x2a, 0x18004f2fa cmp dword ptr [rdi+rax*4], 0 ; +0x30, 0x18004f300 jz short loc_18004F314 ; +0x34, 0x18004f304 mov rcx, [r9+rax*8] ; +0x36, 0x18004f306 inc r11d ; +0x3a, 0x18004f30a mov [r10], rcx ; +0x3d, 0x18004f30d add r10, 8 ; +0x40, 0x18004f310 inc rax ; +0x44, 0x18004f314 cmp rax, rbx ; +0x47, 0x18004f317 jl short loc_18004F300 ; +0x4a, 0x18004f31a mov rdi, [rsp+38h+arg_0] ; +0x4c, 0x18004f31c test r11d, r11d ; +0x51, 0x18004f321 jz short loc_18004F349 ; +0x54, 0x18004f324 lea rax, sub_180049880 ; +0x56, 0x18004f326 mov rcx, rsi ; +0x5d, 0x18004f32d mov [rsp+38h+arg_28], rax ; +0x60, 0x18004f330 mov dword ptr [rsp+38h+arg_20], r11d ; +0x65, 0x18004f335 mov rbx, [rsp+38h+arg_8] ; +0x6a, 0x18004f33a add rsp, 30h ; +0x6f, 0x18004f33f pop rsi ; +0x73, 0x18004f343 jmp sub_18004F5A0 ; +0x74, 0x18004f344 mov rbx, [rsp+38h+arg_8] ; +0x79, 0x18004f349 xor eax, eax ; +0x7e, 0x18004f34e add rsp, 30h ; +0x80, 0x18004f350 pop rsi ; +0x84, 0x18004f354 retn ; +0x85, 0x18004f355