; ; sub_180075590 from 0x180075590 to 0x18007568a (250 bytes) ; ; 2 xrefs: ; > @ 0x1801ad5b0 ; > @ 0x1801f9b34 ; ; 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, 0x180075590 mov [rsp+arg_8], rsi ; +0x5, 0x180075595 push rdi ; +0xa, 0x18007559a sub rsp, 20h ; +0xb, 0x18007559b mov rsi, [rcx] ; +0xf, 0x18007559f xor ebx, ebx ; +0x12, 0x1800755a2 mov r8, [rsi+0A8h] ; +0x14, 0x1800755a4 add r8, 111D0h ; +0x1b, 0x1800755ab mov dword ptr [rsi+224h], 1 ; +0x22, 0x1800755b2 mov eax, [r8+4] ; +0x2c, 0x1800755bc mov ecx, [r8] ; +0x30, 0x1800755c0 shl ecx, 0Bh ; +0x33, 0x1800755c3 xor ecx, [r8] ; +0x36, 0x1800755c6 mov [r8], eax ; +0x39, 0x1800755c9 mov eax, [r8+8] ; +0x3c, 0x1800755cc mov [r8+4], eax ; +0x40, 0x1800755d0 mov eax, [r8+0Ch] ; +0x44, 0x1800755d4 mov edx, eax ; +0x48, 0x1800755d8 mov [r8+8], eax ; +0x4a, 0x1800755da shr edx, 0Bh ; +0x4e, 0x1800755de xor edx, ecx ; +0x51, 0x1800755e1 shr edx, 8 ; +0x53, 0x1800755e3 xor edx, eax ; +0x56, 0x1800755e6 xor edx, ecx ; +0x58, 0x1800755e8 mov [r8+0Ch], edx ; +0x5a, 0x1800755ea mov ecx, edx ; +0x5e, 0x1800755ee imul eax, edx, 2220C267h ; +0x60, 0x1800755f0 not ecx ; +0x66, 0x1800755f6 mov [rsi+22Ch], edx ; +0x68, 0x1800755f8 mov [rsi+230h], ecx ; +0x6e, 0x1800755fe mov [rsi+234h], eax ; +0x74, 0x180075604 imul eax, ecx, 0A8215EC9h ; +0x7a, 0x18007560a mov [rsi+238h], eax ; +0x80, 0x180075610 mov rax, [rsi+0E8h] ; +0x86, 0x180075616 cmp [rax+60h], ebx ; +0x8d, 0x18007561d jle short loc_180075678 ; +0x90, 0x180075620 xor edi, edi ; +0x92, 0x180075622 nop dword ptr [rax+00h] ; +0x94, 0x180075624 nop dword ptr [rax+rax+00000000h] ; +0x98, 0x180075628 mov rax, [rax+68h] ; +0xa0, 0x180075630 mov rcx, [rdi+rax] ; +0xa4, 0x180075634 mov eax, [rcx] ; +0xa8, 0x180075638 test eax, eax ; +0xaa, 0x18007563a jnz short loc_18007564F ; +0xac, 0x18007563c movss xmm2, dword ptr [rcx+38h] ; +0xae, 0x18007563e mov edx, ebx ; +0xb3, 0x180075643 mov rcx, rsi ; +0xb5, 0x180075645 call sub_18009C0C0 ; +0xb8, 0x180075648 jmp short loc_180075662 ; +0xbd, 0x18007564d cmp eax, 1 ; +0xbf, 0x18007564f jnz short loc_180075666 ; +0xc2, 0x180075652 mov r8d, [rcx+38h] ; +0xc4, 0x180075654 mov edx, ebx ; +0xc8, 0x180075658 mov rcx, rsi ; +0xca, 0x18007565a call sub_18009C140 ; +0xcd, 0x18007565d test eax, eax ; +0xd2, 0x180075662 jnz short loc_18007567A ; +0xd4, 0x180075664 mov rax, [rsi+0E8h] ; +0xd6, 0x180075666 inc ebx ; +0xdd, 0x18007566d add rdi, 8 ; +0xdf, 0x18007566f cmp ebx, [rax+60h] ; +0xe3, 0x180075673 jl short loc_180075630 ; +0xe6, 0x180075676 xor eax, eax ; +0xe8, 0x180075678 mov rbx, [rsp+28h+arg_0] ; +0xea, 0x18007567a mov rsi, [rsp+28h+arg_8] ; +0xef, 0x18007567f add rsp, 20h ; +0xf4, 0x180075684 pop rdi ; +0xf8, 0x180075688 retn ; +0xf9, 0x180075689