; ; sub_18000FE50 from 0x18000fe50 to 0x18000ffa2 (338 bytes) ; ; 3 xrefs: ; > @ 0x18016c7e0 ; > @ 0x18016ca58 ; > @ 0x1801f6dbc ; ; 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 ; push rbx ; +0x0, 0x18000fe50 sub rsp, 40h ; +0x2, 0x18000fe52 mov rax, [rcx] ; +0x6, 0x18000fe56 lea rdx, [rsp+48h+arg_0] ; +0x9, 0x18000fe59 movaps [rsp+48h+var_18], xmm6 ; +0xe, 0x18000fe5e mov rbx, rcx ; +0x13, 0x18000fe63 movaps [rsp+48h+var_28], xmm7 ; +0x16, 0x18000fe66 movaps xmm6, xmm1 ; +0x1b, 0x18000fe6b movaps xmm7, xmm2 ; +0x1e, 0x18000fe6e call qword ptr [rax+98h] ; +0x21, 0x18000fe71 test eax, eax ; +0x27, 0x18000fe77 jnz loc_18000FF92 ; +0x29, 0x18000fe79 mov r8d, [rsp+48h+arg_0] ; +0x2f, 0x18000fe7f test r8b, 10h ; +0x34, 0x18000fe84 jnz short loc_18000FE9F ; +0x38, 0x18000fe88 mov eax, 28h ; '(' ; +0x3a, 0x18000fe8a movaps xmm6, [rsp+48h+var_18] ; +0x3f, 0x18000fe8f movaps xmm7, [rsp+48h+var_28] ; +0x44, 0x18000fe94 add rsp, 40h ; +0x49, 0x18000fe99 pop rbx ; +0x4d, 0x18000fe9d retn ; +0x4e, 0x18000fe9e movss [rsp+48h+arg_18], xmm6 ; +0x4f, 0x18000fe9f mov eax, [rsp+48h+arg_18] ; +0x55, 0x18000fea5 and eax, 7F800000h ; +0x59, 0x18000fea9 cmp eax, 7F800000h ; +0x5e, 0x18000feae mov eax, 1Dh ; +0x63, 0x18000feb3 jz loc_18000FF92 ; +0x68, 0x18000feb8 xor edx, edx ; +0x6e, 0x18000febe movss [rsp+48h+arg_18], xmm7 ; +0x70, 0x18000fec0 mov ecx, [rsp+48h+arg_18] ; +0x76, 0x18000fec6 and ecx, 7F800000h ; +0x7a, 0x18000feca cmp ecx, 7F800000h ; +0x80, 0x18000fed0 cmovz edx, eax ; +0x86, 0x18000fed6 jz loc_18000FF7B ; +0x89, 0x18000fed9 xorps xmm0, xmm0 ; +0x8f, 0x18000fedf comiss xmm6, xmm0 ; +0x92, 0x18000fee2 jb loc_18000FF8D ; +0x95, 0x18000fee5 comiss xmm7, xmm0 ; +0x9b, 0x18000feeb jb loc_18000FF8D ; +0x9e, 0x18000feee comiss xmm7, xmm6 ; +0xa4, 0x18000fef4 jb loc_18000FF8D ; +0xa7, 0x18000fef7 ucomiss xmm6, dword ptr [rbx+9Ch] ; +0xad, 0x18000fefd jnz short loc_18000FF0F ; +0xb4, 0x18000ff04 ucomiss xmm7, dword ptr [rbx+0A0h] ; +0xb6, 0x18000ff06 jz short loc_18000FF7B ; +0xbd, 0x18000ff0d movss dword ptr [rbx+9Ch], xmm6 ; +0xbf, 0x18000ff0f movss dword ptr [rbx+0A0h], xmm7 ; +0xc7, 0x18000ff17 test r8d, 4F00000h ; +0xcf, 0x18000ff1f jnz short loc_18000FF4C ; +0xd6, 0x18000ff26 mov rax, [rbx+8] ; +0xd8, 0x18000ff28 cmp qword ptr [rax+10E00h], 0 ; +0xdc, 0x18000ff2c jnz short loc_18000FF4C ; +0xe4, 0x18000ff34 or dword ptr [rbx+48h], 4 ; +0xe6, 0x18000ff36 mov eax, edx ; +0xea, 0x18000ff3a movaps xmm6, [rsp+48h+var_18] ; +0xec, 0x18000ff3c movaps xmm7, [rsp+48h+var_28] ; +0xf1, 0x18000ff41 add rsp, 40h ; +0xf6, 0x18000ff46 pop rbx ; +0xfa, 0x18000ff4a retn ; +0xfb, 0x18000ff4b or dword ptr [rbx+48h], 4 ; +0xfc, 0x18000ff4c xor r9d, r9d ; +0x100, 0x18000ff50 xor r8d, r8d ; +0x103, 0x18000ff53 xor edx, edx ; +0x106, 0x18000ff56 mov rcx, rbx ; +0x108, 0x18000ff58 call sub_180012140 ; +0x10b, 0x18000ff5b test eax, eax ; +0x110, 0x18000ff60 jnz short loc_18000FF92 ; +0x112, 0x18000ff62 mov rax, [rbx] ; +0x114, 0x18000ff64 xor r8d, r8d ; +0x117, 0x18000ff67 movss xmm1, dword ptr [rbx+30h] ; +0x11a, 0x18000ff6a mov rcx, rbx ; +0x11f, 0x18000ff6f call qword ptr [rax+20h] ; +0x122, 0x18000ff72 mov edx, eax ; +0x125, 0x18000ff75 test eax, eax ; +0x127, 0x18000ff77 jnz short loc_18000FF92 ; +0x129, 0x18000ff79 mov eax, edx ; +0x12b, 0x18000ff7b movaps xmm6, [rsp+48h+var_18] ; +0x12d, 0x18000ff7d movaps xmm7, [rsp+48h+var_28] ; +0x132, 0x18000ff82 add rsp, 40h ; +0x137, 0x18000ff87 pop rbx ; +0x13b, 0x18000ff8b retn ; +0x13c, 0x18000ff8c mov eax, 1Fh ; +0x13d, 0x18000ff8d movaps xmm6, [rsp+48h+var_18] ; +0x142, 0x18000ff92 movaps xmm7, [rsp+48h+var_28] ; +0x147, 0x18000ff97 add rsp, 40h ; +0x14c, 0x18000ff9c pop rbx ; +0x150, 0x18000ffa0 retn ; +0x151, 0x18000ffa1