; ; sub_18006E7E0 from 0x18006e7e0 to 0x18006e8e0 (256 bytes) ; ; 3 xrefs: ; > sub_18006C730 @ 0x18006c7d8 ; > sub_18006E3F0 @ 0x18006e50d ; > @ 0x1801f97c8 ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 10:53:29 +0000 ; push rbx ; +0x0, 0x18006e7e0 sub rsp, 70h ; +0x2, 0x18006e7e2 mov rax, [rcx+0A8h] ; +0x6, 0x18006e7e6 xorps xmm0, xmm0 ; +0xd, 0x18006e7ed movaps [rsp+78h+var_18], xmm6 ; +0x10, 0x18006e7f0 mov rbx, rcx ; +0x15, 0x18006e7f5 movaps [rsp+78h+var_28], xmm7 ; +0x18, 0x18006e7f8 movaps xmm7, xmm2 ; +0x1d, 0x18006e7fd mulss xmm7, cs:dword_180164B84 ; +0x20, 0x18006e800 cvtsi2ss xmm0, dword ptr [rax+6D0h] ; +0x28, 0x18006e808 movaps [rsp+78h+var_38], xmm8 ; +0x30, 0x18006e810 divss xmm7, xmm0 ; +0x36, 0x18006e816 movaps [rsp+78h+var_48], xmm9 ; +0x3a, 0x18006e81a movaps xmm0, xmm7; X ; +0x40, 0x18006e820 movaps [rsp+78h+var_58], xmm10 ; +0x43, 0x18006e823 movaps xmm10, xmm1 ; +0x49, 0x18006e829 call cosf ; +0x4d, 0x18006e82d movss xmm9, cs:dword_180145744 ; +0x52, 0x18006e832 movaps xmm2, xmm0 ; +0x5b, 0x18006e83b movss xmm6, cs:dword_18014573C ; +0x5e, 0x18006e83e addss xmm2, xmm9 ; +0x66, 0x18006e846 movaps xmm8, xmm0 ; +0x6b, 0x18006e84b addss xmm0, xmm9 ; +0x6f, 0x18006e84f mulss xmm2, xmm6 ; +0x74, 0x18006e854 xorps xmm0, cs:xmmword_180144610 ; +0x78, 0x18006e858 movss dword ptr [rbx+43Ch], xmm0 ; +0x7f, 0x18006e85f xorps xmm0, xmm0 ; +0x87, 0x18006e867 movss xmm0, xmm7 ; +0x8a, 0x18006e86a movss dword ptr [rbx+438h], xmm2 ; +0x8e, 0x18006e86e movss dword ptr [rbx+440h], xmm2 ; +0x96, 0x18006e876 call __libm_sse2_sincosf_ ; +0x9e, 0x18006e87e mulss xmm8, cs:dword_180164A4C ; +0xa3, 0x18006e883 xor eax, eax ; +0xac, 0x18006e88c movaps xmm7, [rsp+78h+var_28] ; +0xae, 0x18006e88e divss xmm6, xmm10 ; +0xb3, 0x18006e893 movaps xmm10, [rsp+78h+var_58] ; +0xb8, 0x18006e898 mulss xmm0, xmm6 ; +0xbe, 0x18006e89e movaps xmm6, [rsp+78h+var_18] ; +0xc2, 0x18006e8a2 movss dword ptr [rbx+430h], xmm8 ; +0xc7, 0x18006e8a7 movaps xmm8, [rsp+78h+var_38] ; +0xd0, 0x18006e8b0 movaps xmm1, xmm0 ; +0xd6, 0x18006e8b6 addss xmm1, xmm9 ; +0xd9, 0x18006e8b9 subss xmm9, xmm0 ; +0xde, 0x18006e8be movss dword ptr [rbx+42Ch], xmm1 ; +0xe3, 0x18006e8c3 movss dword ptr [rbx+434h], xmm9 ; +0xeb, 0x18006e8cb movaps xmm9, [rsp+78h+var_48] ; +0xf4, 0x18006e8d4 add rsp, 70h ; +0xfa, 0x18006e8da pop rbx ; +0xfe, 0x18006e8de retn ; +0xff, 0x18006e8df