; ; sub_1800182F0 from 0x1800182f0 to 0x180018340 (80 bytes) ; ; 17 xrefs: ; > sub_180006640 @ 0x180006690 ; > sub_180006640 @ 0x1800066e3 ; > sub_180006640 @ 0x1800067f9 ; > sub_180006640 @ 0x18000685e ; > sub_180006640 @ 0x180006869 ; > sub_180006640 @ 0x180006874 ; > sub_180006640 @ 0x18000687f ; > sub_180007790 @ 0x180007864 ; > sub_180007790 @ 0x180007870 ; > sub_180007790 @ 0x1800078fe ; > sub_180007790 @ 0x180007951 ; > sub_180007790 @ 0x1800079b4 ; > sub_180007E10 @ 0x180007e9a ; > sub_180007E10 @ 0x180007f63 ; > sub_180007E10 @ 0x180007fb3 ; > sub_180009F30 @ 0x180009fe4 ; > sub_180009F30 @ 0x180009ff4 ; ; 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 r8, cs:qword_1801B2810 ; +0x0, 0x1800182f0 test r8, r8 ; +0x7, 0x1800182f7 jz short loc_18001833D ; +0xa, 0x1800182fa mov r9d, cs:dword_1801B2818 ; +0xc, 0x1800182fc test r9d, r9d ; +0x13, 0x180018303 jle short loc_18001833D ; +0x16, 0x180018306 lea eax, [rcx+3] ; +0x18, 0x180018308 movsxd rcx, eax ; +0x1b, 0x18001830b lea rdx, [r8+3] ; +0x1e, 0x18001830e and rcx, 0FFFFFFFFFFFFFFFCh ; +0x22, 0x180018312 and rdx, 0FFFFFFFFFFFFFFFCh ; +0x26, 0x180018316 sub rdx, r8 ; +0x2a, 0x18001831a lea rax, [r8+rcx] ; +0x2d, 0x18001831d add rax, rdx ; +0x31, 0x180018321 mov cs:qword_1801B2810, rax ; +0x34, 0x180018324 lea eax, [rdx+rcx] ; +0x3b, 0x18001832b sub r9d, eax ; +0x3e, 0x18001832e lea rax, [rdx+r8] ; +0x41, 0x180018331 mov cs:dword_1801B2818, r9d ; +0x45, 0x180018335 retn ; +0x4c, 0x18001833c xor eax, eax ; +0x4d, 0x18001833d retn ; +0x4f, 0x18001833f