; ; sub_180070690 from 0x180070690 to 0x18007076d (221 bytes) ; ; 2 xrefs: ; > @ 0x1801ad100 ; > @ 0x1801f990c ; ; 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, 0x180070690 sub rsp, 20h ; +0x2, 0x180070692 mov rbx, [rcx] ; +0x6, 0x180070696 test edx, edx ; +0x9, 0x180070699 jz loc_180070726 ; +0xb, 0x18007069b sub edx, 1 ; +0x11, 0x1800706a1 jz short loc_1800706EE ; +0x14, 0x1800706a4 cmp edx, 1 ; +0x16, 0x1800706a6 jz short loc_1800706B6 ; +0x19, 0x1800706a9 mov eax, 1Fh ; +0x1b, 0x1800706ab add rsp, 20h ; +0x20, 0x1800706b0 pop rbx ; +0x24, 0x1800706b4 retn ; +0x25, 0x1800706b5 comiss xmm2, cs:dword_1801674C8 ; +0x26, 0x1800706b6 ja short loc_1800706CC ; +0x2d, 0x1800706bd xorps xmm0, xmm0 ; +0x2f, 0x1800706bf movss dword ptr [rbx+2ACh], xmm0 ; +0x32, 0x1800706c2 jmp short loc_18007072E ; +0x3a, 0x1800706ca mulss xmm2, cs:dword_180164A1C ; +0x3c, 0x1800706cc movss xmm0, cs:flt_180145764; X ; +0x44, 0x1800706d4 movaps xmm1, xmm2; Y ; +0x4c, 0x1800706dc call powf ; +0x4f, 0x1800706df movss dword ptr [rbx+2ACh], xmm0 ; +0x54, 0x1800706e4 jmp short loc_18007072E ; +0x5c, 0x1800706ec comiss xmm2, cs:dword_1801674C8 ; +0x5e, 0x1800706ee ja short loc_180070704 ; +0x65, 0x1800706f5 xorps xmm0, xmm0 ; +0x67, 0x1800706f7 movss dword ptr [rbx+2A8h], xmm0 ; +0x6a, 0x1800706fa jmp short loc_18007072E ; +0x72, 0x180070702 mulss xmm2, cs:dword_180164A1C ; +0x74, 0x180070704 movss xmm0, cs:flt_180145764; X ; +0x7c, 0x18007070c movaps xmm1, xmm2; Y ; +0x84, 0x180070714 call powf ; +0x87, 0x180070717 movss dword ptr [rbx+2A8h], xmm0 ; +0x8c, 0x18007071c jmp short loc_18007072E ; +0x94, 0x180070724 movss dword ptr [rbx+2A4h], xmm2 ; +0x96, 0x180070726 movd xmm0, dword ptr [rbx+2A0h] ; +0x9e, 0x18007072e xor eax, eax ; +0xa6, 0x180070736 movss xmm1, cs:dword_180145744 ; +0xa8, 0x180070738 movss xmm2, dword ptr [rbx+2A4h] ; +0xb0, 0x180070740 mulss xmm2, cs:dword_1801457E4 ; +0xb8, 0x180070748 cvtdq2ps xmm0, xmm0 ; +0xc0, 0x180070750 divss xmm1, xmm0 ; +0xc3, 0x180070753 addss xmm1, xmm2 ; +0xc7, 0x180070757 divss xmm2, xmm1 ; +0xcb, 0x18007075b movss dword ptr [rbx+2B0h], xmm2 ; +0xcf, 0x18007075f add rsp, 20h ; +0xd7, 0x180070767 pop rbx ; +0xdb, 0x18007076b retn ; +0xdc, 0x18007076c