; ; sub_180049840 from 0x180049840 to 0x180049873 (51 bytes) ; ; 5 xrefs: ; > sub_18004B0F0 @ 0x18004b224 ; > sub_18004B0F0 @ 0x18004b2ae ; > sub_18004F360 @ 0x18004f476 ; > sub_18004F5A0 @ 0x18004f6f8 ; > @ 0x1801f8448 ; ; 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:14 +0000 ; push rbx ; +0x0, 0x180049840 sub rsp, 20h ; +0x2, 0x180049842 cmp dword ptr [rcx+8], 0 ; +0x6, 0x180049846 mov rbx, rcx ; +0xa, 0x18004984a jle short loc_180049868 ; +0xd, 0x18004984d call sub_18004A6B0 ; +0xf, 0x18004984f test eax, eax ; +0x14, 0x180049854 js short loc_180049868 ; +0x16, 0x180049856 movsxd rdx, eax ; +0x18, 0x180049858 mov rax, [rbx+28h] ; +0x1b, 0x18004985b mov eax, [rax+rdx*4] ; +0x1f, 0x18004985f add rsp, 20h ; +0x22, 0x180049862 pop rbx ; +0x26, 0x180049866 retn ; +0x27, 0x180049867 mov eax, 0FFFFFFFFh ; +0x28, 0x180049868 add rsp, 20h ; +0x2d, 0x18004986d pop rbx ; +0x31, 0x180049871 retn ; +0x32, 0x180049872