; ; sub_180018290 from 0x180018290 to 0x1800182e4 (84 bytes) ; ; 1 xrefs: ; > sub_180006640 @ 0x180006678 ; ; 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:52:48 +0000 ; mov r9, cs:qword_1801B2810 ; +0x0, 0x180018290 test r9, r9 ; +0x7, 0x180018297 jz short loc_1800182E1 ; +0xa, 0x18001829a mov r10d, cs:dword_1801B2818 ; +0xc, 0x18001829c test r10d, r10d ; +0x13, 0x1800182a3 jle short loc_1800182E1 ; +0x16, 0x1800182a6 imul ecx, edx ; +0x18, 0x1800182a8 lea r8, [r9+3] ; +0x1b, 0x1800182ab and r8, 0FFFFFFFFFFFFFFFCh ; +0x1f, 0x1800182af sub r8, r9 ; +0x23, 0x1800182b3 add ecx, 3 ; +0x26, 0x1800182b6 movsxd rcx, ecx ; +0x29, 0x1800182b9 and rcx, 0FFFFFFFFFFFFFFFCh ; +0x2c, 0x1800182bc lea rax, [r9+rcx] ; +0x30, 0x1800182c0 add rax, r8 ; +0x34, 0x1800182c4 mov cs:qword_1801B2810, rax ; +0x37, 0x1800182c7 lea eax, [r8+rcx] ; +0x3e, 0x1800182ce sub r10d, eax ; +0x42, 0x1800182d2 lea rax, [r8+r9] ; +0x45, 0x1800182d5 mov cs:dword_1801B2818, r10d ; +0x49, 0x1800182d9 retn ; +0x50, 0x1800182e0 xor eax, eax ; +0x51, 0x1800182e1 retn ; +0x53, 0x1800182e3