; ; sub_180072D10 from 0x180072d10 to 0x18007326d (1373 bytes) ; ; 5 xrefs: ; > sub_180070F20 @ 0x180071040 ; > sub_180072AF0 @ 0x180072c0d ; > @ 0x180183870 ; > @ 0x180183880 ; > @ 0x1801f99f0 ; ; 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 r11, rsp ; +0x0, 0x180072d10 push rdi ; +0x3, 0x180072d13 sub rsp, 0D0h ; +0x4, 0x180072d14 mov rax, [rcx+0A8h] ; +0xb, 0x180072d1b mov rdi, rcx ; +0x12, 0x180072d22 movaps xmmword ptr [r11-18h], xmm6 ; +0x15, 0x180072d25 movaps xmm6, xmm1 ; +0x1a, 0x180072d2a movaps xmmword ptr [r11-78h], xmm12 ; +0x1d, 0x180072d2d movss xmm12, cs:dword_180145744 ; +0x22, 0x180072d32 comiss xmm6, xmm12 ; +0x2b, 0x180072d3b jb loc_180073254 ; +0x2f, 0x180072d3f mov [r11+10h], rbx ; +0x35, 0x180072d45 lea rbx, [rcx+438h] ; +0x39, 0x180072d49 movaps xmmword ptr [r11-28h], xmm7 ; +0x40, 0x180072d50 movaps xmmword ptr [r11-38h], xmm8 ; +0x45, 0x180072d55 movaps xmmword ptr [r11-48h], xmm9 ; +0x4a, 0x180072d5a movaps xmmword ptr [r11-58h], xmm10 ; +0x4f, 0x180072d5f movaps xmmword ptr [r11-68h], xmm11 ; +0x54, 0x180072d64 movaps [rsp+0D8h+var_88], xmm13 ; +0x59, 0x180072d69 xorps xmm13, xmm13 ; +0x5f, 0x180072d6f cvtsi2ss xmm13, dword ptr [rax+6D0h] ; +0x63, 0x180072d73 mov [rsp+0D8h+var_B0], 3F800000h ; +0x6c, 0x180072d7c mov [rsp+0D8h+var_AC], 3F800000h ; +0x74, 0x180072d84 movaps [rsp+0D8h+var_98], xmm14 ; +0x7c, 0x180072d8c movaps xmm14, xmm12 ; +0x82, 0x180072d92 movaps xmm0, xmm13 ; +0x86, 0x180072d96 movaps [rsp+0D8h+var_A8], xmm15 ; +0x8a, 0x180072d9a mulss xmm0, cs:dword_18014573C ; +0x90, 0x180072da0 comiss xmm2, xmm0 ; +0x98, 0x180072da8 jbe short loc_180072DB8 ; +0x9b, 0x180072dab movaps xmm2, xmm0 ; +0x9d, 0x180072dad subss xmm2, cs:flt_180145764 ; +0xa0, 0x180072db0 mulss xmm2, cs:dword_180164B80 ; +0xa8, 0x180072db8 divss xmm2, xmm13 ; +0xb0, 0x180072dc0 movaps xmm0, xmm2; X ; +0xb5, 0x180072dc5 call tanf ; +0xb8, 0x180072dc8 movss xmm3, cs:dword_180166DD0 ; +0xbd, 0x180072dcd lea r9, [rsp+0D8h+var_B0] ; +0xc5, 0x180072dd5 movaps xmm15, xmm0 ; +0xca, 0x180072dda lea rdx, [rbx+8] ; +0xce, 0x180072dde movss xmm0, cs:flt_180145750 ; +0xd2, 0x180072de2 lea rcx, [rdi+468h] ; +0xda, 0x180072dea movaps xmm1, xmm13 ; +0xe1, 0x180072df1 lea rax, [rdi+254h] ; +0xe5, 0x180072df5 addss xmm1, xmm13 ; +0xec, 0x180072dfc sub r9, rdi ; +0xf1, 0x180072e01 mov r8d, 2 ; +0xf4, 0x180072e04 mulss xmm15, xmm1 ; +0xfa, 0x180072e0a movaps xmm1, xmm12 ; +0xff, 0x180072e0f movaps xmm2, xmm15 ; +0x103, 0x180072e13 mulss xmm2, xmm15 ; +0x107, 0x180072e17 divss xmm1, xmm2 ; +0x10c, 0x180072e1c movaps xmm2, xmm0 ; +0x110, 0x180072e20 divss xmm2, xmm15 ; +0x113, 0x180072e23 divss xmm0, xmm6 ; +0x118, 0x180072e28 movss [rsp+0D8h+var_B8], xmm2 ; +0x11c, 0x180072e2c movss [rsp+0D8h+arg_18], xmm1 ; +0x122, 0x180072e32 movss [rsp+0D8h+arg_0], xmm0 ; +0x12b, 0x180072e3b nop dword ptr [rax+00h] ; +0x134, 0x180072e44 nop dword ptr [rax+rax+00000000h] ; +0x138, 0x180072e48 movss xmm7, dword ptr [rcx-4] ; +0x140, 0x180072e50 movaps xmm6, xmm1 ; +0x145, 0x180072e55 mulss xmm6, dword ptr [rcx+4] ; +0x148, 0x180072e58 movaps xmm8, xmm1 ; +0x14d, 0x180072e5d mulss xmm8, dword ptr [rcx-8] ; +0x151, 0x180072e61 movaps xmm9, xmm2 ; +0x157, 0x180072e67 movss xmm10, dword ptr [rcx-10h] ; +0x15b, 0x180072e6b movaps xmm2, xmm12 ; +0x161, 0x180072e71 mulss xmm9, dword ptr [rcx-0Ch] ; +0x165, 0x180072e75 movaps xmm4, xmm6 ; +0x16b, 0x180072e7b mulss xmm6, cs:dword_180145760 ; +0x16e, 0x180072e7e movaps xmm11, xmm8 ; +0x176, 0x180072e86 mulss xmm8, cs:dword_180145760 ; +0x17a, 0x180072e8a movaps xmm1, xmm7 ; +0x183, 0x180072e93 mulss xmm11, xmm3 ; +0x186, 0x180072e96 addss xmm1, xmm7 ; +0x18b, 0x180072e9b mulss xmm4, xmm3 ; +0x18f, 0x180072e9f movaps xmm3, xmm0 ; +0x193, 0x180072ea3 mulss xmm3, dword ptr [rcx] ; +0x196, 0x180072ea6 mulss xmm11, xmm13 ; +0x19a, 0x180072eaa divss xmm3, xmm15 ; +0x19f, 0x180072eaf movaps xmm5, xmm11 ; +0x1a4, 0x180072eb4 mulss xmm4, xmm13 ; +0x1a8, 0x180072eb8 movaps xmm0, xmm3 ; +0x1ad, 0x180072ebd mulss xmm11, xmm13 ; +0x1b0, 0x180072ec0 addss xmm5, xmm9 ; +0x1b5, 0x180072ec5 mulss xmm3, xmm13 ; +0x1ba, 0x180072eca addss xmm0, xmm4 ; +0x1bf, 0x180072ecf mulss xmm9, xmm13 ; +0x1c3, 0x180072ed3 mulss xmm5, xmm13 ; +0x1c8, 0x180072ed8 mulss xmm0, xmm13 ; +0x1cd, 0x180072edd subss xmm11, xmm9 ; +0x1d2, 0x180072ee2 addss xmm5, xmm10 ; +0x1d7, 0x180072ee7 addss xmm0, xmm7 ; +0x1dc, 0x180072eec addss xmm11, xmm10 ; +0x1e0, 0x180072ef0 divss xmm2, xmm0 ; +0x1e5, 0x180072ef5 movaps xmm0, xmm13 ; +0x1e9, 0x180072ef9 mulss xmm0, xmm13 ; +0x1ed, 0x180072efd movaps xmm12, xmm2 ; +0x1f2, 0x180072f02 mulss xmm12, xmm5 ; +0x1f6, 0x180072f06 mulss xmm0, xmm6 ; +0x1fb, 0x180072f0b mulss xmm12, dword ptr [rax+r9-254h] ; +0x1ff, 0x180072f0f subss xmm1, xmm0 ; +0x209, 0x180072f19 movaps xmm0, xmm13 ; +0x20d, 0x180072f1d mulss xmm0, xmm4 ; +0x211, 0x180072f21 movss dword ptr [rax+r9-254h], xmm12 ; +0x215, 0x180072f25 mulss xmm1, xmm2 ; +0x21f, 0x180072f2f subss xmm0, xmm3 ; +0x223, 0x180072f33 movss dword ptr [rbx], xmm1 ; +0x227, 0x180072f37 movaps xmm1, xmm10 ; +0x22b, 0x180072f3b addss xmm0, xmm7 ; +0x22f, 0x180072f3f addss xmm1, xmm10 ; +0x233, 0x180072f43 mulss xmm0, xmm2 ; +0x238, 0x180072f48 movss xmm2, cs:dword_180145744 ; +0x23c, 0x180072f4c divss xmm2, xmm5 ; +0x244, 0x180072f54 movss dword ptr [rdx-4], xmm0 ; +0x248, 0x180072f58 movaps xmm0, xmm13 ; +0x24d, 0x180072f5d mulss xmm0, xmm13 ; +0x251, 0x180072f61 mulss xmm11, xmm2 ; +0x256, 0x180072f66 mulss xmm0, xmm8 ; +0x25b, 0x180072f6b movss dword ptr [rdx+4], xmm11 ; +0x260, 0x180072f70 subss xmm1, xmm0 ; +0x266, 0x180072f76 mulss xmm1, xmm2 ; +0x26a, 0x180072f7a movss dword ptr [rdx], xmm1 ; +0x26e, 0x180072f7e xorps xmm1, xmm1 ; +0x272, 0x180072f82 movss xmm0, dword ptr [rax-28h] ; +0x275, 0x180072f85 ucomiss xmm0, xmm1 ; +0x27a, 0x180072f8a jz loc_1800731BA ; +0x27d, 0x180072f8d movaps xmm2, xmm12 ; +0x283, 0x180072f93 divss xmm2, xmm0 ; +0x287, 0x180072f97 movaps xmm0, xmm2 ; +0x28b, 0x180072f9b movaps xmm1, xmm2 ; +0x28e, 0x180072f9e mulss xmm0, dword ptr [rax-20h] ; +0x291, 0x180072fa1 movss dword ptr [rax-20h], xmm0 ; +0x296, 0x180072fa6 movaps xmm0, xmm2 ; +0x29b, 0x180072fab mulss xmm1, dword ptr [rax-10h] ; +0x29e, 0x180072fae movss dword ptr [rax-10h], xmm1 ; +0x2a3, 0x180072fb3 movaps xmm1, xmm2 ; +0x2a8, 0x180072fb8 mulss xmm0, dword ptr [rax] ; +0x2ab, 0x180072fbb movss dword ptr [rax], xmm0 ; +0x2af, 0x180072fbf movaps xmm0, xmm2 ; +0x2b3, 0x180072fc3 mulss xmm1, dword ptr [rax+10h] ; +0x2b6, 0x180072fc6 movss dword ptr [rax+10h], xmm1 ; +0x2bb, 0x180072fcb movaps xmm1, xmm2 ; +0x2c0, 0x180072fd0 mulss xmm0, dword ptr [rax+20h] ; +0x2c3, 0x180072fd3 movss dword ptr [rax+20h], xmm0 ; +0x2c8, 0x180072fd8 movaps xmm0, xmm2 ; +0x2cd, 0x180072fdd mulss xmm1, dword ptr [rax+30h] ; +0x2d0, 0x180072fe0 movss dword ptr [rax+30h], xmm1 ; +0x2d5, 0x180072fe5 movaps xmm1, xmm2 ; +0x2da, 0x180072fea mulss xmm0, dword ptr [rax+40h] ; +0x2dd, 0x180072fed movss dword ptr [rax+40h], xmm0 ; +0x2e2, 0x180072ff2 movaps xmm0, xmm2 ; +0x2e7, 0x180072ff7 mulss xmm1, dword ptr [rax+50h] ; +0x2ea, 0x180072ffa movss dword ptr [rax+50h], xmm1 ; +0x2ef, 0x180072fff movaps xmm1, xmm2 ; +0x2f4, 0x180073004 mulss xmm0, dword ptr [rax+60h] ; +0x2f7, 0x180073007 movss dword ptr [rax+60h], xmm0 ; +0x2fc, 0x18007300c movaps xmm0, xmm2 ; +0x301, 0x180073011 mulss xmm1, dword ptr [rax+70h] ; +0x304, 0x180073014 movss dword ptr [rax+70h], xmm1 ; +0x309, 0x180073019 movaps xmm1, xmm2 ; +0x30e, 0x18007301e mulss xmm0, dword ptr [rax+80h] ; +0x311, 0x180073021 movss dword ptr [rax+80h], xmm0 ; +0x319, 0x180073029 movaps xmm0, xmm2 ; +0x321, 0x180073031 mulss xmm1, dword ptr [rax+90h] ; +0x324, 0x180073034 movss dword ptr [rax+90h], xmm1 ; +0x32c, 0x18007303c movaps xmm1, xmm2 ; +0x334, 0x180073044 mulss xmm0, dword ptr [rax+0A0h] ; +0x337, 0x180073047 movss dword ptr [rax+0A0h], xmm0 ; +0x33f, 0x18007304f movaps xmm0, xmm2 ; +0x347, 0x180073057 mulss xmm1, dword ptr [rax+0B0h] ; +0x34a, 0x18007305a movss dword ptr [rax+0B0h], xmm1 ; +0x352, 0x180073062 movaps xmm1, xmm2 ; +0x35a, 0x18007306a mulss xmm0, dword ptr [rax+0C0h] ; +0x35d, 0x18007306d movss dword ptr [rax+0C0h], xmm0 ; +0x365, 0x180073075 movaps xmm0, xmm2 ; +0x36d, 0x18007307d mulss xmm1, dword ptr [rax+0D0h] ; +0x370, 0x180073080 movss dword ptr [rax+0D0h], xmm1 ; +0x378, 0x180073088 movaps xmm1, xmm2 ; +0x380, 0x180073090 mulss xmm0, dword ptr [rax+0E0h] ; +0x383, 0x180073093 movss dword ptr [rax+0E0h], xmm0 ; +0x38b, 0x18007309b movaps xmm0, xmm2 ; +0x393, 0x1800730a3 mulss xmm1, dword ptr [rax+0F0h] ; +0x396, 0x1800730a6 movss dword ptr [rax+0F0h], xmm1 ; +0x39e, 0x1800730ae movaps xmm1, xmm2 ; +0x3a6, 0x1800730b6 mulss xmm0, dword ptr [rax+100h] ; +0x3a9, 0x1800730b9 movss dword ptr [rax+100h], xmm0 ; +0x3b1, 0x1800730c1 movaps xmm0, xmm2 ; +0x3b9, 0x1800730c9 mulss xmm1, dword ptr [rax+110h] ; +0x3bc, 0x1800730cc movss dword ptr [rax+110h], xmm1 ; +0x3c4, 0x1800730d4 movaps xmm1, xmm2 ; +0x3cc, 0x1800730dc mulss xmm0, dword ptr [rax+120h] ; +0x3cf, 0x1800730df movss dword ptr [rax+120h], xmm0 ; +0x3d7, 0x1800730e7 movaps xmm0, xmm2 ; +0x3df, 0x1800730ef mulss xmm1, dword ptr [rax+130h] ; +0x3e2, 0x1800730f2 movss dword ptr [rax+130h], xmm1 ; +0x3ea, 0x1800730fa movaps xmm1, xmm2 ; +0x3f2, 0x180073102 mulss xmm0, dword ptr [rax+140h] ; +0x3f5, 0x180073105 movss dword ptr [rax+140h], xmm0 ; +0x3fd, 0x18007310d movaps xmm0, xmm2 ; +0x405, 0x180073115 mulss xmm1, dword ptr [rax+150h] ; +0x408, 0x180073118 movss dword ptr [rax+150h], xmm1 ; +0x410, 0x180073120 movaps xmm1, xmm2 ; +0x418, 0x180073128 mulss xmm0, dword ptr [rax+160h] ; +0x41b, 0x18007312b movss dword ptr [rax+160h], xmm0 ; +0x423, 0x180073133 movaps xmm0, xmm2 ; +0x42b, 0x18007313b mulss xmm1, dword ptr [rax+170h] ; +0x42e, 0x18007313e movss dword ptr [rax+170h], xmm1 ; +0x436, 0x180073146 mulss xmm0, dword ptr [rax+180h] ; +0x43e, 0x18007314e movaps xmm1, xmm2 ; +0x446, 0x180073156 movss dword ptr [rax+180h], xmm0 ; +0x449, 0x180073159 movaps xmm0, xmm2 ; +0x451, 0x180073161 mulss xmm1, dword ptr [rax+190h] ; +0x454, 0x180073164 movss dword ptr [rax+190h], xmm1 ; +0x45c, 0x18007316c movaps xmm1, xmm2 ; +0x464, 0x180073174 mulss xmm0, dword ptr [rax+1A0h] ; +0x467, 0x180073177 movss dword ptr [rax+1A0h], xmm0 ; +0x46f, 0x18007317f movaps xmm0, xmm2 ; +0x477, 0x180073187 mulss xmm1, dword ptr [rax+1B0h] ; +0x47a, 0x18007318a movss dword ptr [rax+1B0h], xmm1 ; +0x482, 0x180073192 mulss xmm0, dword ptr [rax+1C0h] ; +0x48a, 0x18007319a movss dword ptr [rax+1C0h], xmm0 ; +0x492, 0x1800731a2 mulss xmm2, dword ptr [rax+1D0h] ; +0x49a, 0x1800731aa movss dword ptr [rax+1D0h], xmm2 ; +0x4a2, 0x1800731b2 movss xmm0, [rsp+0D8h+arg_0] ; +0x4aa, 0x1800731ba add rbx, 10h ; +0x4b3, 0x1800731c3 movss xmm1, [rsp+0D8h+arg_18] ; +0x4b7, 0x1800731c7 add rdx, 10h ; +0x4c0, 0x1800731d0 movss xmm2, [rsp+0D8h+var_B8] ; +0x4c4, 0x1800731d4 add rcx, 18h ; +0x4ca, 0x1800731da movss xmm3, cs:dword_180166DD0 ; +0x4ce, 0x1800731de movss dword ptr [rax-28h], xmm12 ; +0x4d6, 0x1800731e6 add rax, 4 ; +0x4dc, 0x1800731ec mulss xmm14, xmm12 ; +0x4e0, 0x1800731f0 movss xmm12, cs:dword_180145744 ; +0x4e5, 0x1800731f5 sub r8, 1 ; +0x4ee, 0x1800731fe jnz loc_180072E50 ; +0x4f2, 0x180073202 movaps xmm15, [rsp+0D8h+var_A8] ; +0x4f8, 0x180073208 movaps xmm13, [rsp+0D8h+var_88] ; +0x4fe, 0x18007320e movaps xmm11, [rsp+0D8h+var_68] ; +0x504, 0x180073214 movaps xmm10, [rsp+0D8h+var_58] ; +0x50a, 0x18007321a movaps xmm9, [rsp+0D8h+var_48] ; +0x513, 0x180073223 movaps xmm8, [rsp+0D8h+var_38] ; +0x51c, 0x18007322c movaps xmm7, [rsp+0D8h+var_28] ; +0x525, 0x180073235 mov rbx, [rsp+0D8h+arg_8] ; +0x52d, 0x18007323d movss dword ptr [rdi+434h], xmm14 ; +0x535, 0x180073245 movaps xmm14, [rsp+0D8h+var_98] ; +0x53e, 0x18007324e movaps xmm6, [rsp+0D8h+var_18] ; +0x544, 0x180073254 xor eax, eax ; +0x54c, 0x18007325c movaps xmm12, [rsp+0D8h+var_78] ; +0x54e, 0x18007325e add rsp, 0D0h ; +0x554, 0x180073264 pop rdi ; +0x55b, 0x18007326b retn ; +0x55c, 0x18007326c