; ; sub_180022840 from 0x180022840 to 0x1800228b2 (114 bytes) ; ; 4 xrefs: ; > sub_18001FF20 @ 0x18001ff62 ; > @ 0x18017f914 ; > @ 0x18017f924 ; > @ 0x1801f7524 ; ; 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, 0x180022840 push rdi ; +0x5, 0x180022845 sub rsp, 30h ; +0x6, 0x180022846 mov eax, [rcx+3BC0h] ; +0xa, 0x18002284a mov edi, r8d ; +0x10, 0x180022850 mov rbx, rcx ; +0x13, 0x180022853 cmp r8d, eax ; +0x16, 0x180022856 jz short loc_1800228A5 ; +0x19, 0x180022859 jnb short loc_180022884 ; +0x1b, 0x18002285b movaps [rsp+38h+var_18], xmm6 ; +0x1d, 0x18002285d xor edx, edx ; +0x22, 0x180022862 movss xmm6, dword ptr [rcx+3BF8h] ; +0x24, 0x180022864 call sub_180020EF0 ; +0x2c, 0x18002286c mov eax, [rbx+3BC0h] ; +0x31, 0x180022871 movss dword ptr [rbx+3BF8h], xmm6 ; +0x37, 0x180022877 movaps xmm6, [rsp+38h+var_18] ; +0x3f, 0x18002287f cmp eax, edi ; +0x44, 0x180022884 jnb short loc_1800228A5 ; +0x46, 0x180022886 nop dword ptr [rax+rax+00000000h] ; +0x48, 0x180022888 xor r8d, r8d ; +0x50, 0x180022890 mov dl, 1 ; +0x53, 0x180022893 mov rcx, rbx ; +0x55, 0x180022895 call sub_1800250E0 ; +0x58, 0x180022898 cmp [rbx+3BC0h], edi ; +0x5d, 0x18002289d jb short loc_180022890 ; +0x63, 0x1800228a3 mov rbx, [rsp+38h+arg_0] ; +0x65, 0x1800228a5 xor eax, eax ; +0x6a, 0x1800228aa add rsp, 30h ; +0x6c, 0x1800228ac pop rdi ; +0x70, 0x1800228b0 retn ; +0x71, 0x1800228b1