; ; sub_180066F80 from 0x180066f80 to 0x180067154 (468 bytes) ; ; 4 xrefs: ; > @ 0x180182f18 ; > @ 0x180182f28 ; > @ 0x1801ac8c8 ; > @ 0x1801f9390 ; ; 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 rax, rsp ; +0x0, 0x180066f80 push rbx ; +0x3, 0x180066f83 push rbp ; +0x4, 0x180066f84 push rsi ; +0x5, 0x180066f85 push rdi ; +0x6, 0x180066f86 push r15 ; +0x7, 0x180066f87 sub rsp, 70h ; +0x9, 0x180066f89 mov rbx, [rcx] ; +0xd, 0x180066f8d mov r15, rdx ; +0x10, 0x180066f90 mov edx, [rsp+98h+arg_20] ; +0x13, 0x180066f93 mov esi, r9d ; +0x1a, 0x180066f9a mov rbp, r8 ; +0x1d, 0x180066f9d mov [rax+28h], r9d ; +0x20, 0x180066fa0 mov [rax+8], r8 ; +0x24, 0x180066fa4 mov edi, [rbx+268h] ; +0x28, 0x180066fa8 mov [rax+20h], edi ; +0x2e, 0x180066fae mov [rax+10h], r15 ; +0x31, 0x180066fb1 cmp edx, [rbx+274h] ; +0x35, 0x180066fb5 jz short loc_180066FF1 ; +0x3b, 0x180066fbb mov [rbx+274h], edx ; +0x3d, 0x180066fbd cmp edx, [rbx+1C0h] ; +0x43, 0x180066fc3 jle short loc_180066FE1 ; +0x49, 0x180066fc9 mov edx, [rbx+258h] ; +0x4b, 0x180066fcb mov rcx, rbx ; +0x51, 0x180066fd1 call sub_180068270 ; +0x54, 0x180066fd4 test eax, eax ; +0x59, 0x180066fd9 jnz loc_180067149 ; +0x5b, 0x180066fdb mov rcx, rbx ; +0x61, 0x180066fe1 call sub_1800683A0 ; +0x64, 0x180066fe4 test eax, eax ; +0x69, 0x180066fe9 jnz loc_180067149 ; +0x6b, 0x180066feb mov [rsp+98h+arg_10], r14 ; +0x71, 0x180066ff1 lea r14, [rbx+25Ch] ; +0x79, 0x180066ff9 test edi, edi ; +0x80, 0x180067000 jz loc_1800670C2 ; +0x82, 0x180067002 movss xmm0, dword ptr [rbx+228h] ; +0x88, 0x180067008 lea rax, [rbx+264h] ; +0x90, 0x180067010 movss xmm1, dword ptr [rbx+230h] ; +0x97, 0x180067017 lea rcx, [rbx+260h] ; +0x9f, 0x18006701f mov r9, [rbx+240h] ; +0xa6, 0x180067026 lea r8, [rsp+98h+arg_8] ; +0xad, 0x18006702d mov [rsp+98h+var_30], rax ; +0xb5, 0x180067035 lea rdx, [rsp+98h+arg_0] ; +0xba, 0x18006703a lea rax, [rsp+98h+arg_18] ; +0xc2, 0x180067042 mov [rsp+98h+var_38], rax ; +0xca, 0x18006704a mov eax, [rbx+274h] ; +0xcf, 0x18006704f mov [rsp+98h+var_40], eax ; +0xd5, 0x180067055 lea rax, [rsp+98h+arg_20] ; +0xd9, 0x180067059 mov [rsp+98h+var_48], rax ; +0xe1, 0x180067061 mov eax, [rbx+254h] ; +0xe6, 0x180067066 movss [rsp+98h+var_50], xmm0 ; +0xec, 0x18006706c movss xmm0, dword ptr [rbx+238h] ; +0xf2, 0x180067072 movss [rsp+98h+var_58], xmm1 ; +0xfa, 0x18006707a movss [rsp+98h+var_60], xmm0 ; +0x100, 0x180067080 mov dword ptr [rsp+98h+var_68], eax ; +0x106, 0x180067086 mov [rsp+98h+var_70], r14 ; +0x10a, 0x18006708a mov [rsp+98h+var_78], rcx ; +0x10f, 0x18006708f mov rcx, rbx ; +0x114, 0x180067094 call sub_180067CD0 ; +0x117, 0x180067097 test eax, eax ; +0x11c, 0x18006709c jnz loc_180067141 ; +0x11e, 0x18006709e mov esi, [rsp+98h+arg_20] ; +0x124, 0x1800670a4 mov rbp, [rsp+98h+arg_0] ; +0x12b, 0x1800670ab mov r15, [rsp+98h+arg_8] ; +0x133, 0x1800670b3 mov edi, [rsp+98h+arg_18] ; +0x13b, 0x1800670bb test esi, esi ; +0x142, 0x1800670c2 jz short loc_180067139 ; +0x144, 0x1800670c4 mov eax, [rbx+274h] ; +0x146, 0x1800670c6 lea r8, [rbx+260h] ; +0x14c, 0x1800670cc movss xmm0, dword ptr [rbx+228h] ; +0x153, 0x1800670d3 mov rdx, r15 ; +0x15b, 0x1800670db movss xmm1, dword ptr [rbx+230h] ; +0x15e, 0x1800670de mov rcx, rbp ; +0x166, 0x1800670e6 mov r9d, [r8] ; +0x169, 0x1800670e9 mov dword ptr [rsp+98h+var_38], eax ; +0x16c, 0x1800670ec mov eax, [rbx+254h] ; +0x170, 0x1800670f0 mov [rsp+98h+var_40], esi ; +0x176, 0x1800670f6 movss dword ptr [rsp+98h+var_48], xmm0 ; +0x17a, 0x1800670fa movss xmm0, dword ptr [rbx+238h] ; +0x180, 0x180067100 movss [rsp+98h+var_50], xmm1 ; +0x188, 0x180067108 movss [rsp+98h+var_58], xmm0 ; +0x18e, 0x18006710e mov [rsp+98h+var_60], eax ; +0x194, 0x180067114 mov eax, [r14] ; +0x198, 0x180067118 mov [rsp+98h+var_68], r14 ; +0x19b, 0x18006711b mov [rsp+98h+var_70], r8 ; +0x1a0, 0x180067120 mov r8, [rbx+240h] ; +0x1a5, 0x180067125 mov dword ptr [rsp+98h+var_78], eax ; +0x1ac, 0x18006712c mov rax, cs:qword_1801D2E30 ; +0x1b0, 0x180067130 call qword ptr [rax] ; +0x1b7, 0x180067137 mov [rbx+268h], edi ; +0x1b9, 0x180067139 xor eax, eax ; +0x1bf, 0x18006713f mov r14, [rsp+98h+arg_10] ; +0x1c1, 0x180067141 add rsp, 70h ; +0x1c9, 0x180067149 pop r15 ; +0x1cd, 0x18006714d pop rdi ; +0x1cf, 0x18006714f pop rsi ; +0x1d0, 0x180067150 pop rbp ; +0x1d1, 0x180067151 pop rbx ; +0x1d2, 0x180067152 retn ; +0x1d3, 0x180067153