; ; sub_1800492E0 from 0x1800492e0 to 0x18004937d (157 bytes) ; ; 6 xrefs: ; > sub_18004B0F0 @ 0x18004b160 ; > sub_18004F360 @ 0x18004f3d6 ; > sub_18004F5A0 @ 0x18004f689 ; > sub_180050790 @ 0x18005088b ; > sub_180050790 @ 0x1800508ae ; > @ 0x1801f83f4 ; ; 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, 0x1800492e0 mov [rsp+arg_8], rsi ; +0x5, 0x1800492e5 push rdi ; +0xa, 0x1800492ea sub rsp, 20h ; +0xb, 0x1800492eb mov rbx, rdx ; +0xf, 0x1800492ef lea edi, [r8+7] ; +0x12, 0x1800492f2 mov edx, [rdx+60h] ; +0x16, 0x1800492f6 and edi, 0FFFFFFF8h ; +0x19, 0x1800492f9 mov rsi, rcx ; +0x1c, 0x1800492fc lea eax, [rdx+rdi] ; +0x1f, 0x1800492ff cmp eax, [rbx+64h] ; +0x22, 0x180049302 jle short loc_180049360 ; +0x25, 0x180049305 cmp qword ptr [rbx+58h], 0 ; +0x27, 0x180049307 jz short loc_180049336 ; +0x2c, 0x18004930c mov edx, 10h ; +0x2e, 0x18004930e call sub_180033CC0 ; +0x33, 0x180049313 test rax, rax ; +0x38, 0x180049318 jz short loc_18004934C ; +0x3b, 0x18004931b mov ecx, [rbx+60h] ; +0x3d, 0x18004931d add [rbx+68h], ecx ; +0x40, 0x180049320 mov rcx, [rbx+70h] ; +0x43, 0x180049323 mov [rax+8], rcx ; +0x47, 0x180049327 mov rcx, [rbx+58h] ; +0x4b, 0x18004932b mov [rax], rcx ; +0x4f, 0x18004932f mov [rbx+70h], rax ; +0x52, 0x180049332 mov edx, edi ; +0x56, 0x180049336 mov [rbx+64h], edi ; +0x58, 0x180049338 mov rcx, rsi ; +0x5b, 0x18004933b call sub_180033CC0 ; +0x5e, 0x18004933e mov [rbx+58h], rax ; +0x63, 0x180049343 test rax, rax ; +0x67, 0x180049347 jnz short loc_18004935E ; +0x6a, 0x18004934a xor eax, eax ; +0x6c, 0x18004934c mov rbx, [rsp+28h+arg_0] ; +0x6e, 0x18004934e mov rsi, [rsp+28h+arg_8] ; +0x73, 0x180049353 add rsp, 20h ; +0x78, 0x180049358 pop rdi ; +0x7c, 0x18004935c retn ; +0x7d, 0x18004935d xor edx, edx ; +0x7e, 0x18004935e mov rsi, [rsp+28h+arg_8] ; +0x80, 0x180049360 lea eax, [rdx+rdi] ; +0x85, 0x180049365 mov [rbx+60h], eax ; +0x88, 0x180049368 movsxd rax, edx ; +0x8b, 0x18004936b add rax, [rbx+58h] ; +0x8e, 0x18004936e mov rbx, [rsp+28h+arg_0] ; +0x92, 0x180049372 add rsp, 20h ; +0x97, 0x180049377 pop rdi ; +0x9b, 0x18004937b retn ; +0x9c, 0x18004937c