; ; sub_18000F8F0 from 0x18000f8f0 to 0x18000f9d4 (228 bytes) ; ; 4 xrefs: ; > @ 0x18016c800 ; > @ 0x18016ca78 ; > @ 0x1801f6d68 ; > @ 0x1801f6d74 ; ; 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_8], rbx ; +0x0, 0x18000f8f0 push rdi ; +0x5, 0x18000f8f5 sub rsp, 20h ; +0x6, 0x18000f8f6 mov rax, [rcx] ; +0xa, 0x18000f8fa mov rdi, rdx ; +0xd, 0x18000f8fd lea rdx, [rsp+28h+arg_0] ; +0x10, 0x18000f900 mov rbx, rcx ; +0x15, 0x18000f905 call qword ptr [rax+98h] ; +0x18, 0x18000f908 test eax, eax ; +0x1e, 0x18000f90e jnz loc_18000F9C9 ; +0x20, 0x18000f910 test byte ptr [rsp+28h+arg_0], 10h ; +0x26, 0x18000f916 jnz short loc_18000F92D ; +0x2b, 0x18000f91b mov eax, 28h ; '(' ; +0x2d, 0x18000f91d mov rbx, [rsp+28h+arg_8] ; +0x32, 0x18000f922 add rsp, 20h ; +0x37, 0x18000f927 pop rdi ; +0x3b, 0x18000f92b retn ; +0x3c, 0x18000f92c test rdi, rdi ; +0x3d, 0x18000f92d jnz short loc_18000F940 ; +0x40, 0x18000f930 lea eax, [rdi+1Fh] ; +0x42, 0x18000f932 mov rbx, [rsp+28h+arg_8] ; +0x45, 0x18000f935 add rsp, 20h ; +0x4a, 0x18000f93a pop rdi ; +0x4e, 0x18000f93e retn ; +0x4f, 0x18000f93f movss xmm0, dword ptr [rdi] ; +0x50, 0x18000f940 xor edx, edx ; +0x54, 0x18000f944 movss xmm1, dword ptr [rdi+4] ; +0x56, 0x18000f946 mov r9d, 1Dh ; +0x5b, 0x18000f94b movss [rsp+28h+arg_18], xmm0 ; +0x61, 0x18000f951 mov r8d, edx ; +0x67, 0x18000f957 movss xmm0, dword ptr [rdi+8] ; +0x6a, 0x18000f95a mov ecx, edx ; +0x6f, 0x18000f95f movss [rsp+28h+arg_0], xmm0 ; +0x71, 0x18000f961 mov eax, [rsp+28h+arg_0] ; +0x77, 0x18000f967 and eax, 7F800000h ; +0x7b, 0x18000f96b movss [rsp+28h+arg_10], xmm1 ; +0x80, 0x18000f970 cmp eax, 7F800000h ; +0x86, 0x18000f976 mov eax, [rsp+28h+arg_10] ; +0x8b, 0x18000f97b cmovz r8d, r9d ; +0x8f, 0x18000f97f and eax, 7F800000h ; +0x93, 0x18000f983 cmp eax, 7F800000h ; +0x98, 0x18000f988 cmovz ecx, r9d ; +0x9d, 0x18000f98d or r8d, ecx ; +0xa1, 0x18000f991 mov ecx, [rsp+28h+arg_18] ; +0xa4, 0x18000f994 and ecx, 7F800000h ; +0xa8, 0x18000f998 cmp ecx, 7F800000h ; +0xae, 0x18000f99e cmovz edx, r9d ; +0xb4, 0x18000f9a4 or r8d, edx ; +0xb8, 0x18000f9a8 jnz short loc_18000F9C6 ; +0xbb, 0x18000f9ab movsd xmm0, qword ptr [rdi] ; +0xbd, 0x18000f9ad movsd qword ptr [rbx+0B4h], xmm0 ; +0xc1, 0x18000f9b1 mov eax, [rdi+8] ; +0xc9, 0x18000f9b9 or dword ptr [rbx+48h], 4 ; +0xcc, 0x18000f9bc mov [rbx+0BCh], eax ; +0xd0, 0x18000f9c0 mov eax, r8d ; +0xd6, 0x18000f9c6 mov rbx, [rsp+28h+arg_8] ; +0xd9, 0x18000f9c9 add rsp, 20h ; +0xde, 0x18000f9ce pop rdi ; +0xe2, 0x18000f9d2 retn ; +0xe3, 0x18000f9d3