; ; sub_180075930 from 0x180075930 to 0x18007638c (2652 bytes) ; ; 5 xrefs: ; > sub_180075690 @ 0x180075693 ; > @ 0x180183a98 ; > @ 0x180183acc ; > @ 0x1801f9b58 ; > @ 0x1801f9b64 ; ; 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:32 +0000 ; mov [rsp+arg_18], rbx ; +0x0, 0x180075930 push rsi ; +0x5, 0x180075935 sub rsp, 40h ; +0x6, 0x180075936 cmp [rsp+48h+arg_28], 1 ; +0xa, 0x18007593a mov rbx, rcx ; +0xf, 0x18007593f mov esi, edx ; +0x12, 0x180075942 jnz short loc_180075966 ; +0x14, 0x180075944 test r9, r9 ; +0x16, 0x180075946 jz loc_180076364 ; +0x19, 0x180075949 mov rax, [r9+8] ; +0x1f, 0x18007594f mov dword ptr [rax], 1 ; +0x23, 0x180075953 xor eax, eax ; +0x29, 0x180075959 mov rbx, [rsp+48h+arg_18] ; +0x2b, 0x18007595b add rsp, 40h ; +0x30, 0x180075960 pop rsi ; +0x34, 0x180075964 retn ; +0x35, 0x180075965 mov rax, [r9+8] ; +0x36, 0x180075966 mov [rsp+48h+arg_0], rbp ; +0x3a, 0x18007596a xor ebp, ebp ; +0x3f, 0x18007596f mov [rsp+48h+arg_8], rdi ; +0x41, 0x180075971 mov [rsp+48h+arg_10], r14 ; +0x46, 0x180075976 mov r14d, [rax] ; +0x4b, 0x18007597b mov rax, [r9+18h] ; +0x4e, 0x18007597e movaps [rsp+48h+var_18], xmm6 ; +0x52, 0x180075982 movss xmm6, dword ptr [rcx+244h] ; +0x57, 0x180075987 mov ecx, [rcx+23Ch] ; +0x5f, 0x18007598f mov rdi, [rax] ; +0x65, 0x180075995 mov eax, [rbx+220h] ; +0x68, 0x180075998 cmp eax, ecx ; +0x6e, 0x18007599e jz short loc_1800759B0 ; +0x70, 0x1800759a0 mov [rbx+220h], ecx ; +0x72, 0x1800759a2 mov eax, ecx ; +0x78, 0x1800759a8 mov [rbx+228h], ebp ; +0x7a, 0x1800759aa cmp r14d, 1 ; +0x80, 0x1800759b0 jbe short loc_1800759D1 ; +0x84, 0x1800759b4 mov r8d, r14d ; +0x86, 0x1800759b6 xor edx, edx; Val ; +0x89, 0x1800759b9 imul r8d, esi ; +0x8b, 0x1800759bb mov rcx, rdi; void * ; +0x8f, 0x1800759bf shl r8, 2; Size ; +0x92, 0x1800759c2 call memset ; +0x96, 0x1800759c6 mov eax, [rbx+220h] ; +0x9b, 0x1800759cb cmp eax, 5; switch 6 cases ; +0xa1, 0x1800759d1 ja def_1800759ED; jumptable 00000001800759ED default case ; +0xa4, 0x1800759d4 lea rdx, cs:180000000h ; +0xaa, 0x1800759da cdqe ; +0xb1, 0x1800759e1 mov ecx, ds:(jpt_1800759ED - 180000000h)[rdx+rax*4] ; +0xb3, 0x1800759e3 add rcx, rdx ; +0xba, 0x1800759ea jmp rcx; switch jump ; +0xbd, 0x1800759ed test esi, esi; jumptable 00000001800759ED case 0 ; +0xbf, 0x1800759ef jz def_1800759ED; jumptable 00000001800759ED default case ; +0xc1, 0x1800759f1 movaps [rsp+48h+var_28], xmm7 ; +0xc7, 0x1800759f7 mov rbp, r14 ; +0xcc, 0x1800759fc movss xmm7, cs:dword_180164B84 ; +0xcf, 0x1800759ff mulss xmm6, xmm7 ; +0xd7, 0x180075a07 shl rbp, 2 ; +0xdb, 0x180075a0b nop ; +0xdf, 0x180075a0f movss xmm0, dword ptr [rbx+228h]; X ; +0xe0, 0x180075a10 call sinf ; +0xe8, 0x180075a18 movss dword ptr [rdi], xmm0 ; +0xed, 0x180075a1d movaps xmm1, xmm6 ; +0xf1, 0x180075a21 addss xmm1, dword ptr [rbx+228h] ; +0xf4, 0x180075a24 comiss xmm1, xmm7 ; +0xfc, 0x180075a2c movss dword ptr [rbx+228h], xmm1 ; +0xff, 0x180075a2f jb short loc_180075A45 ; +0x107, 0x180075a37 subss xmm1, xmm7 ; +0x109, 0x180075a39 movss dword ptr [rbx+228h], xmm1 ; +0x10d, 0x180075a3d add rdi, rbp ; +0x115, 0x180075a45 sub rsi, 1 ; +0x118, 0x180075a48 jnz short loc_180075A10 ; +0x11c, 0x180075a4c movaps xmm7, [rsp+48h+var_28] ; +0x11e, 0x180075a4e jmp def_1800759ED; jumptable 00000001800759ED default case ; +0x123, 0x180075a53 movss xmm1, cs:dword_180145744; jumptable 00000001800759ED case 1 ; +0x128, 0x180075a58 cmp esi, 4 ; +0x130, 0x180075a60 jb loc_180075B9B ; +0x133, 0x180075a63 mov rcx, r14 ; +0x139, 0x180075a69 lea eax, [rsi-4] ; +0x13c, 0x180075a6c shl rcx, 2 ; +0x13f, 0x180075a6f shr eax, 2 ; +0x143, 0x180075a73 inc eax ; +0x146, 0x180075a76 mov edx, eax ; +0x148, 0x180075a78 lea ebp, ds:0[rax*4] ; +0x14a, 0x180075a7a movd xmm0, dword ptr [rbx+224h] ; +0x151, 0x180075a81 movaps xmm2, xmm6 ; +0x159, 0x180075a89 cvtdq2ps xmm0, xmm0 ; +0x15c, 0x180075a8c movss dword ptr [rdi], xmm0 ; +0x15f, 0x180075a8f addss xmm2, dword ptr [rbx+228h] ; +0x163, 0x180075a93 comiss xmm2, xmm1 ; +0x16b, 0x180075a9b movss dword ptr [rbx+228h], xmm2 ; +0x16e, 0x180075a9e jb short loc_180075AC2 ; +0x176, 0x180075aa6 mov eax, [rbx+224h] ; +0x178, 0x180075aa8 subss xmm2, xmm1 ; +0x17e, 0x180075aae neg eax ; +0x182, 0x180075ab2 mov [rbx+224h], eax ; +0x184, 0x180075ab4 movss dword ptr [rbx+228h], xmm2 ; +0x18a, 0x180075aba movd xmm0, dword ptr [rbx+224h] ; +0x192, 0x180075ac2 add rdi, rcx ; +0x19a, 0x180075aca cvtdq2ps xmm0, xmm0 ; +0x19d, 0x180075acd movaps xmm2, xmm6 ; +0x1a0, 0x180075ad0 movss dword ptr [rdi], xmm0 ; +0x1a3, 0x180075ad3 addss xmm2, dword ptr [rbx+228h] ; +0x1a7, 0x180075ad7 comiss xmm2, xmm1 ; +0x1af, 0x180075adf movss dword ptr [rbx+228h], xmm2 ; +0x1b2, 0x180075ae2 jb short loc_180075B06 ; +0x1ba, 0x180075aea mov eax, [rbx+224h] ; +0x1bc, 0x180075aec subss xmm2, xmm1 ; +0x1c2, 0x180075af2 neg eax ; +0x1c6, 0x180075af6 mov [rbx+224h], eax ; +0x1c8, 0x180075af8 movss dword ptr [rbx+228h], xmm2 ; +0x1ce, 0x180075afe movd xmm0, dword ptr [rbx+224h] ; +0x1d6, 0x180075b06 add rdi, rcx ; +0x1de, 0x180075b0e cvtdq2ps xmm0, xmm0 ; +0x1e1, 0x180075b11 movaps xmm2, xmm6 ; +0x1e4, 0x180075b14 movss dword ptr [rdi], xmm0 ; +0x1e7, 0x180075b17 addss xmm2, dword ptr [rbx+228h] ; +0x1eb, 0x180075b1b comiss xmm2, xmm1 ; +0x1f3, 0x180075b23 movss dword ptr [rbx+228h], xmm2 ; +0x1f6, 0x180075b26 jb short loc_180075B4A ; +0x1fe, 0x180075b2e mov eax, [rbx+224h] ; +0x200, 0x180075b30 subss xmm2, xmm1 ; +0x206, 0x180075b36 neg eax ; +0x20a, 0x180075b3a mov [rbx+224h], eax ; +0x20c, 0x180075b3c movss dword ptr [rbx+228h], xmm2 ; +0x212, 0x180075b42 movd xmm0, dword ptr [rbx+224h] ; +0x21a, 0x180075b4a add rdi, rcx ; +0x222, 0x180075b52 cvtdq2ps xmm0, xmm0 ; +0x225, 0x180075b55 movaps xmm2, xmm6 ; +0x228, 0x180075b58 movss dword ptr [rdi], xmm0 ; +0x22b, 0x180075b5b addss xmm2, dword ptr [rbx+228h] ; +0x22f, 0x180075b5f comiss xmm2, xmm1 ; +0x237, 0x180075b67 movss dword ptr [rbx+228h], xmm2 ; +0x23a, 0x180075b6a jb short loc_180075B8E ; +0x242, 0x180075b72 mov eax, [rbx+224h] ; +0x244, 0x180075b74 subss xmm2, xmm1 ; +0x24a, 0x180075b7a neg eax ; +0x24e, 0x180075b7e mov [rbx+224h], eax ; +0x250, 0x180075b80 movss dword ptr [rbx+228h], xmm2 ; +0x256, 0x180075b86 add rdi, rcx ; +0x25e, 0x180075b8e sub rdx, 1 ; +0x261, 0x180075b91 jnz loc_180075A81 ; +0x265, 0x180075b95 cmp ebp, esi ; +0x26b, 0x180075b9b jnb def_1800759ED; jumptable 00000001800759ED default case ; +0x26d, 0x180075b9d mov rdx, r14 ; +0x273, 0x180075ba3 shl rdx, 2 ; +0x276, 0x180075ba6 sub esi, ebp ; +0x27a, 0x180075baa mov ecx, esi ; +0x27c, 0x180075bac movd xmm0, dword ptr [rbx+224h] ; +0x27e, 0x180075bae movaps xmm2, xmm6 ; +0x286, 0x180075bb6 cvtdq2ps xmm0, xmm0 ; +0x289, 0x180075bb9 movss dword ptr [rdi], xmm0 ; +0x28c, 0x180075bbc addss xmm2, dword ptr [rbx+228h] ; +0x290, 0x180075bc0 comiss xmm2, xmm1 ; +0x298, 0x180075bc8 movss dword ptr [rbx+228h], xmm2 ; +0x29b, 0x180075bcb jb short loc_180075BEF ; +0x2a3, 0x180075bd3 mov eax, [rbx+224h] ; +0x2a5, 0x180075bd5 subss xmm2, xmm1 ; +0x2ab, 0x180075bdb neg eax ; +0x2af, 0x180075bdf mov [rbx+224h], eax ; +0x2b1, 0x180075be1 movss dword ptr [rbx+228h], xmm2 ; +0x2b7, 0x180075be7 add rdi, rdx ; +0x2bf, 0x180075bef sub rcx, 1 ; +0x2c2, 0x180075bf2 jnz short loc_180075BAE ; +0x2c6, 0x180075bf6 jmp def_1800759ED; jumptable 00000001800759ED default case ; +0x2c8, 0x180075bf8 movss xmm2, cs:dword_180145744; jumptable 00000001800759ED case 2 ; +0x2cd, 0x180075bfd cmp esi, 4 ; +0x2d5, 0x180075c05 jb loc_180075D06 ; +0x2d8, 0x180075c08 movss xmm0, dword ptr [rbx+228h] ; +0x2de, 0x180075c0e lea eax, [rsi-4] ; +0x2e6, 0x180075c16 mov rcx, r14 ; +0x2e9, 0x180075c19 shr eax, 2 ; +0x2ec, 0x180075c1c shl rcx, 2 ; +0x2ef, 0x180075c1f inc eax ; +0x2f3, 0x180075c23 mov edx, eax ; +0x2f5, 0x180075c25 lea ebp, ds:0[rax*4] ; +0x2f7, 0x180075c27 xchg ax, ax ; +0x2fe, 0x180075c2e addss xmm0, xmm0 ; +0x300, 0x180075c30 movaps xmm1, xmm6 ; +0x304, 0x180075c34 subss xmm0, xmm2 ; +0x307, 0x180075c37 movss dword ptr [rdi], xmm0 ; +0x30b, 0x180075c3b addss xmm1, dword ptr [rbx+228h] ; +0x30f, 0x180075c3f comiss xmm1, xmm2 ; +0x317, 0x180075c47 movss dword ptr [rbx+228h], xmm1 ; +0x31a, 0x180075c4a jb short loc_180075C60 ; +0x322, 0x180075c52 subss xmm1, xmm2 ; +0x324, 0x180075c54 movss dword ptr [rbx+228h], xmm1 ; +0x328, 0x180075c58 add rdi, rcx ; +0x330, 0x180075c60 addss xmm1, xmm1 ; +0x333, 0x180075c63 movaps xmm0, xmm6 ; +0x337, 0x180075c67 subss xmm1, xmm2 ; +0x33a, 0x180075c6a movss dword ptr [rdi], xmm1 ; +0x33e, 0x180075c6e addss xmm0, dword ptr [rbx+228h] ; +0x342, 0x180075c72 comiss xmm0, xmm2 ; +0x34a, 0x180075c7a movss dword ptr [rbx+228h], xmm0 ; +0x34d, 0x180075c7d jb short loc_180075C93 ; +0x355, 0x180075c85 subss xmm0, xmm2 ; +0x357, 0x180075c87 movss dword ptr [rbx+228h], xmm0 ; +0x35b, 0x180075c8b add rdi, rcx ; +0x363, 0x180075c93 addss xmm0, xmm0 ; +0x366, 0x180075c96 movaps xmm1, xmm6 ; +0x36a, 0x180075c9a subss xmm0, xmm2 ; +0x36d, 0x180075c9d movss dword ptr [rdi], xmm0 ; +0x371, 0x180075ca1 addss xmm1, dword ptr [rbx+228h] ; +0x375, 0x180075ca5 comiss xmm1, xmm2 ; +0x37d, 0x180075cad movss dword ptr [rbx+228h], xmm1 ; +0x380, 0x180075cb0 jb short loc_180075CC6 ; +0x388, 0x180075cb8 subss xmm1, xmm2 ; +0x38a, 0x180075cba movss dword ptr [rbx+228h], xmm1 ; +0x38e, 0x180075cbe add rdi, rcx ; +0x396, 0x180075cc6 addss xmm1, xmm1 ; +0x399, 0x180075cc9 movaps xmm0, xmm6 ; +0x39d, 0x180075ccd subss xmm1, xmm2 ; +0x3a0, 0x180075cd0 movss dword ptr [rdi], xmm1 ; +0x3a4, 0x180075cd4 addss xmm0, dword ptr [rbx+228h] ; +0x3a8, 0x180075cd8 comiss xmm0, xmm2 ; +0x3b0, 0x180075ce0 movss dword ptr [rbx+228h], xmm0 ; +0x3b3, 0x180075ce3 jb short loc_180075CF9 ; +0x3bb, 0x180075ceb subss xmm0, xmm2 ; +0x3bd, 0x180075ced movss dword ptr [rbx+228h], xmm0 ; +0x3c1, 0x180075cf1 add rdi, rcx ; +0x3c9, 0x180075cf9 sub rdx, 1 ; +0x3cc, 0x180075cfc jnz loc_180075C30 ; +0x3d0, 0x180075d00 cmp ebp, esi ; +0x3d6, 0x180075d06 jnb def_1800759ED; jumptable 00000001800759ED default case ; +0x3d8, 0x180075d08 mov rcx, r14 ; +0x3de, 0x180075d0e shl rcx, 2 ; +0x3e1, 0x180075d11 sub esi, ebp ; +0x3e5, 0x180075d15 mov eax, esi ; +0x3e7, 0x180075d17 movss xmm0, dword ptr [rbx+228h] ; +0x3e9, 0x180075d19 movaps xmm1, xmm6 ; +0x3f1, 0x180075d21 addss xmm0, xmm0 ; +0x3f4, 0x180075d24 subss xmm0, xmm2 ; +0x3f8, 0x180075d28 movss dword ptr [rdi], xmm0 ; +0x3fc, 0x180075d2c addss xmm1, dword ptr [rbx+228h] ; +0x400, 0x180075d30 comiss xmm1, xmm2 ; +0x408, 0x180075d38 movss dword ptr [rbx+228h], xmm1 ; +0x40b, 0x180075d3b jb short loc_180075D51 ; +0x413, 0x180075d43 subss xmm1, xmm2 ; +0x415, 0x180075d45 movss dword ptr [rbx+228h], xmm1 ; +0x419, 0x180075d49 add rdi, rcx ; +0x421, 0x180075d51 sub rax, 1 ; +0x424, 0x180075d54 jnz short loc_180075D19 ; +0x428, 0x180075d58 jmp def_1800759ED; jumptable 00000001800759ED default case ; +0x42a, 0x180075d5a movss xmm2, cs:dword_180145744; jumptable 00000001800759ED case 3 ; +0x42f, 0x180075d5f cmp esi, 4 ; +0x437, 0x180075d67 jb loc_180075E72 ; +0x43a, 0x180075d6a movss xmm1, dword ptr [rbx+228h] ; +0x440, 0x180075d70 lea eax, [rsi-4] ; +0x448, 0x180075d78 mov rcx, r14 ; +0x44b, 0x180075d7b shr eax, 2 ; +0x44e, 0x180075d7e shl rcx, 2 ; +0x451, 0x180075d81 inc eax ; +0x455, 0x180075d85 mov edx, eax ; +0x457, 0x180075d87 lea ebp, ds:0[rax*4] ; +0x459, 0x180075d89 addss xmm1, xmm1 ; +0x460, 0x180075d90 movaps xmm0, xmm2 ; +0x464, 0x180075d94 movaps xmm3, xmm6 ; +0x467, 0x180075d97 subss xmm0, xmm1 ; +0x46a, 0x180075d9a movss dword ptr [rdi], xmm0 ; +0x46e, 0x180075d9e addss xmm3, dword ptr [rbx+228h] ; +0x472, 0x180075da2 comiss xmm3, xmm2 ; +0x47a, 0x180075daa movss dword ptr [rbx+228h], xmm3 ; +0x47d, 0x180075dad jb short loc_180075DC3 ; +0x485, 0x180075db5 subss xmm3, xmm2 ; +0x487, 0x180075db7 movss dword ptr [rbx+228h], xmm3 ; +0x48b, 0x180075dbb add rdi, rcx ; +0x493, 0x180075dc3 addss xmm3, xmm3 ; +0x496, 0x180075dc6 movaps xmm0, xmm2 ; +0x49a, 0x180075dca movaps xmm1, xmm6 ; +0x49d, 0x180075dcd subss xmm0, xmm3 ; +0x4a0, 0x180075dd0 movss dword ptr [rdi], xmm0 ; +0x4a4, 0x180075dd4 addss xmm1, dword ptr [rbx+228h] ; +0x4a8, 0x180075dd8 comiss xmm1, xmm2 ; +0x4b0, 0x180075de0 movss dword ptr [rbx+228h], xmm1 ; +0x4b3, 0x180075de3 jb short loc_180075DF9 ; +0x4bb, 0x180075deb subss xmm1, xmm2 ; +0x4bd, 0x180075ded movss dword ptr [rbx+228h], xmm1 ; +0x4c1, 0x180075df1 add rdi, rcx ; +0x4c9, 0x180075df9 addss xmm1, xmm1 ; +0x4cc, 0x180075dfc movaps xmm0, xmm2 ; +0x4d0, 0x180075e00 movaps xmm3, xmm6 ; +0x4d3, 0x180075e03 subss xmm0, xmm1 ; +0x4d6, 0x180075e06 movss dword ptr [rdi], xmm0 ; +0x4da, 0x180075e0a addss xmm3, dword ptr [rbx+228h] ; +0x4de, 0x180075e0e comiss xmm3, xmm2 ; +0x4e6, 0x180075e16 movss dword ptr [rbx+228h], xmm3 ; +0x4e9, 0x180075e19 jb short loc_180075E2F ; +0x4f1, 0x180075e21 subss xmm3, xmm2 ; +0x4f3, 0x180075e23 movss dword ptr [rbx+228h], xmm3 ; +0x4f7, 0x180075e27 add rdi, rcx ; +0x4ff, 0x180075e2f addss xmm3, xmm3 ; +0x502, 0x180075e32 movaps xmm0, xmm2 ; +0x506, 0x180075e36 movaps xmm1, xmm6 ; +0x509, 0x180075e39 subss xmm0, xmm3 ; +0x50c, 0x180075e3c movss dword ptr [rdi], xmm0 ; +0x510, 0x180075e40 addss xmm1, dword ptr [rbx+228h] ; +0x514, 0x180075e44 comiss xmm1, xmm2 ; +0x51c, 0x180075e4c movss dword ptr [rbx+228h], xmm1 ; +0x51f, 0x180075e4f jb short loc_180075E65 ; +0x527, 0x180075e57 subss xmm1, xmm2 ; +0x529, 0x180075e59 movss dword ptr [rbx+228h], xmm1 ; +0x52d, 0x180075e5d add rdi, rcx ; +0x535, 0x180075e65 sub rdx, 1 ; +0x538, 0x180075e68 jnz loc_180075D90 ; +0x53c, 0x180075e6c cmp ebp, esi ; +0x542, 0x180075e72 jnb def_1800759ED; jumptable 00000001800759ED default case ; +0x544, 0x180075e74 mov rcx, r14 ; +0x54a, 0x180075e7a shl rcx, 2 ; +0x54d, 0x180075e7d sub esi, ebp ; +0x551, 0x180075e81 mov eax, esi ; +0x553, 0x180075e83 movss xmm1, dword ptr [rbx+228h] ; +0x555, 0x180075e85 movaps xmm0, xmm2 ; +0x55d, 0x180075e8d addss xmm1, xmm1 ; +0x560, 0x180075e90 movaps xmm3, xmm6 ; +0x564, 0x180075e94 subss xmm0, xmm1 ; +0x567, 0x180075e97 movss dword ptr [rdi], xmm0 ; +0x56b, 0x180075e9b addss xmm3, dword ptr [rbx+228h] ; +0x56f, 0x180075e9f comiss xmm3, xmm2 ; +0x577, 0x180075ea7 movss dword ptr [rbx+228h], xmm3 ; +0x57a, 0x180075eaa jb short loc_180075EC0 ; +0x582, 0x180075eb2 subss xmm3, xmm2 ; +0x584, 0x180075eb4 movss dword ptr [rbx+228h], xmm3 ; +0x588, 0x180075eb8 add rdi, rcx ; +0x590, 0x180075ec0 sub rax, 1 ; +0x593, 0x180075ec3 jnz short loc_180075E85 ; +0x597, 0x180075ec7 jmp def_1800759ED; jumptable 00000001800759ED default case ; +0x599, 0x180075ec9 movss xmm4, cs:dword_180145744; jumptable 00000001800759ED case 4 ; +0x59e, 0x180075ece movss xmm3, cs:X ; +0x5a6, 0x180075ed6 cmp esi, 4 ; +0x5ae, 0x180075ede jb loc_18007608A ; +0x5b1, 0x180075ee1 movss xmm1, dword ptr [rbx+228h] ; +0x5b7, 0x180075ee7 lea eax, [rsi-4] ; +0x5bf, 0x180075eef mov rcx, r14 ; +0x5c2, 0x180075ef2 shr eax, 2 ; +0x5c5, 0x180075ef5 shl rcx, 2 ; +0x5c8, 0x180075ef8 inc eax ; +0x5cc, 0x180075efc mov edx, eax ; +0x5ce, 0x180075efe lea ebp, ds:0[rax*4] ; +0x5d0, 0x180075f00 nop word ptr [rax+rax+00000000h] ; +0x5d7, 0x180075f07 movss dword ptr [rdi], xmm1 ; +0x5e0, 0x180075f10 mov eax, [rbx+224h] ; +0x5e4, 0x180075f14 movd xmm2, eax ; +0x5ea, 0x180075f1a cvtdq2ps xmm2, xmm2 ; +0x5ee, 0x180075f1e mulss xmm2, xmm6 ; +0x5f1, 0x180075f21 addss xmm2, xmm2 ; +0x5f5, 0x180075f25 addss xmm2, dword ptr [rbx+228h] ; +0x5f9, 0x180075f29 comiss xmm2, xmm4 ; +0x601, 0x180075f31 movss dword ptr [rbx+228h], xmm2 ; +0x604, 0x180075f34 ja short loc_180075F43 ; +0x60c, 0x180075f3c comiss xmm2, xmm3 ; +0x60e, 0x180075f3e jnb short loc_180075F6C ; +0x611, 0x180075f41 neg eax ; +0x613, 0x180075f43 mov [rbx+224h], eax ; +0x615, 0x180075f45 movd xmm1, eax ; +0x61b, 0x180075f4b cvtdq2ps xmm1, xmm1 ; +0x61f, 0x180075f4f mulss xmm1, xmm6 ; +0x622, 0x180075f52 movaps xmm0, xmm1 ; +0x626, 0x180075f56 addss xmm0, xmm2 ; +0x629, 0x180075f59 movaps xmm2, xmm0 ; +0x62d, 0x180075f5d addss xmm2, xmm1 ; +0x630, 0x180075f60 movss dword ptr [rbx+228h], xmm2 ; +0x634, 0x180075f64 add rdi, rcx ; +0x63c, 0x180075f6c movss dword ptr [rdi], xmm2 ; +0x63f, 0x180075f6f mov eax, [rbx+224h] ; +0x643, 0x180075f73 movd xmm1, eax ; +0x649, 0x180075f79 cvtdq2ps xmm1, xmm1 ; +0x64d, 0x180075f7d mulss xmm1, xmm6 ; +0x650, 0x180075f80 addss xmm1, xmm1 ; +0x654, 0x180075f84 addss xmm1, dword ptr [rbx+228h] ; +0x658, 0x180075f88 comiss xmm1, xmm4 ; +0x660, 0x180075f90 movss dword ptr [rbx+228h], xmm1 ; +0x663, 0x180075f93 ja short loc_180075FA2 ; +0x66b, 0x180075f9b comiss xmm1, xmm3 ; +0x66d, 0x180075f9d jnb short loc_180075FC5 ; +0x670, 0x180075fa0 neg eax ; +0x672, 0x180075fa2 mov [rbx+224h], eax ; +0x674, 0x180075fa4 movd xmm0, eax ; +0x67a, 0x180075faa cvtdq2ps xmm0, xmm0 ; +0x67e, 0x180075fae mulss xmm0, xmm6 ; +0x681, 0x180075fb1 addss xmm1, xmm0 ; +0x685, 0x180075fb5 addss xmm1, xmm0 ; +0x689, 0x180075fb9 movss dword ptr [rbx+228h], xmm1 ; +0x68d, 0x180075fbd add rdi, rcx ; +0x695, 0x180075fc5 movss dword ptr [rdi], xmm1 ; +0x698, 0x180075fc8 mov eax, [rbx+224h] ; +0x69c, 0x180075fcc movd xmm1, eax ; +0x6a2, 0x180075fd2 cvtdq2ps xmm1, xmm1 ; +0x6a6, 0x180075fd6 mulss xmm1, xmm6 ; +0x6a9, 0x180075fd9 addss xmm1, xmm1 ; +0x6ad, 0x180075fdd addss xmm1, dword ptr [rbx+228h] ; +0x6b1, 0x180075fe1 comiss xmm1, xmm4 ; +0x6b9, 0x180075fe9 movss dword ptr [rbx+228h], xmm1 ; +0x6bc, 0x180075fec ja short loc_180075FFB ; +0x6c4, 0x180075ff4 comiss xmm1, xmm3 ; +0x6c6, 0x180075ff6 jnb short loc_18007601E ; +0x6c9, 0x180075ff9 neg eax ; +0x6cb, 0x180075ffb mov [rbx+224h], eax ; +0x6cd, 0x180075ffd movd xmm0, eax ; +0x6d3, 0x180076003 cvtdq2ps xmm0, xmm0 ; +0x6d7, 0x180076007 mulss xmm0, xmm6 ; +0x6da, 0x18007600a addss xmm1, xmm0 ; +0x6de, 0x18007600e addss xmm1, xmm0 ; +0x6e2, 0x180076012 movss dword ptr [rbx+228h], xmm1 ; +0x6e6, 0x180076016 add rdi, rcx ; +0x6ee, 0x18007601e movss dword ptr [rdi], xmm1 ; +0x6f1, 0x180076021 mov eax, [rbx+224h] ; +0x6f5, 0x180076025 movd xmm1, eax ; +0x6fb, 0x18007602b cvtdq2ps xmm1, xmm1 ; +0x6ff, 0x18007602f mulss xmm1, xmm6 ; +0x702, 0x180076032 addss xmm1, xmm1 ; +0x706, 0x180076036 addss xmm1, dword ptr [rbx+228h] ; +0x70a, 0x18007603a comiss xmm1, xmm4 ; +0x712, 0x180076042 movss dword ptr [rbx+228h], xmm1 ; +0x715, 0x180076045 movaps xmm2, xmm1 ; +0x71d, 0x18007604d ja short loc_180076057 ; +0x720, 0x180076050 comiss xmm1, xmm3 ; +0x722, 0x180076052 jnb short loc_18007607D ; +0x725, 0x180076055 neg eax ; +0x727, 0x180076057 mov [rbx+224h], eax ; +0x729, 0x180076059 movd xmm0, eax ; +0x72f, 0x18007605f cvtdq2ps xmm0, xmm0 ; +0x733, 0x180076063 mulss xmm0, xmm6 ; +0x736, 0x180076066 movaps xmm1, xmm0 ; +0x73a, 0x18007606a addss xmm1, xmm2 ; +0x73d, 0x18007606d addss xmm1, xmm0 ; +0x741, 0x180076071 movss dword ptr [rbx+228h], xmm1 ; +0x745, 0x180076075 add rdi, rcx ; +0x74d, 0x18007607d sub rdx, 1 ; +0x750, 0x180076080 jnz loc_180075F10 ; +0x754, 0x180076084 cmp ebp, esi ; +0x75a, 0x18007608a jnb def_1800759ED; jumptable 00000001800759ED default case ; +0x75c, 0x18007608c movss xmm1, dword ptr [rbx+228h] ; +0x762, 0x180076092 mov rdx, r14 ; +0x76a, 0x18007609a shl rdx, 2 ; +0x76d, 0x18007609d sub esi, ebp ; +0x771, 0x1800760a1 mov ecx, esi ; +0x773, 0x1800760a3 movss dword ptr [rdi], xmm1 ; +0x775, 0x1800760a5 mov eax, [rbx+224h] ; +0x779, 0x1800760a9 movd xmm1, eax ; +0x77f, 0x1800760af cvtdq2ps xmm1, xmm1 ; +0x783, 0x1800760b3 mulss xmm1, xmm6 ; +0x786, 0x1800760b6 addss xmm1, xmm1 ; +0x78a, 0x1800760ba addss xmm1, dword ptr [rbx+228h] ; +0x78e, 0x1800760be comiss xmm1, xmm4 ; +0x796, 0x1800760c6 movss dword ptr [rbx+228h], xmm1 ; +0x799, 0x1800760c9 movaps xmm2, xmm1 ; +0x7a1, 0x1800760d1 ja short loc_1800760DB ; +0x7a4, 0x1800760d4 comiss xmm1, xmm3 ; +0x7a6, 0x1800760d6 jnb short loc_180076101 ; +0x7a9, 0x1800760d9 neg eax ; +0x7ab, 0x1800760db mov [rbx+224h], eax ; +0x7ad, 0x1800760dd movd xmm0, eax ; +0x7b3, 0x1800760e3 cvtdq2ps xmm0, xmm0 ; +0x7b7, 0x1800760e7 mulss xmm0, xmm6 ; +0x7ba, 0x1800760ea movaps xmm1, xmm0 ; +0x7be, 0x1800760ee addss xmm1, xmm2 ; +0x7c1, 0x1800760f1 addss xmm1, xmm0 ; +0x7c5, 0x1800760f5 movss dword ptr [rbx+228h], xmm1 ; +0x7c9, 0x1800760f9 add rdi, rdx ; +0x7d1, 0x180076101 sub rcx, 1 ; +0x7d4, 0x180076104 jnz short loc_1800760A5 ; +0x7d8, 0x180076108 jmp def_1800759ED; jumptable 00000001800759ED default case ; +0x7da, 0x18007610a movss xmm1, cs:dword_180145744; jumptable 00000001800759ED case 5 ; +0x7df, 0x18007610f movss xmm2, cs:dword_180167660 ; +0x7e7, 0x180076117 cmp esi, 4 ; +0x7ef, 0x18007611f jb loc_1800762D7 ; +0x7f2, 0x180076122 mov r8, r14 ; +0x7f8, 0x180076128 lea eax, [rsi-4] ; +0x7fb, 0x18007612b shl r8, 2 ; +0x7fe, 0x18007612e shr eax, 2 ; +0x802, 0x180076132 inc eax ; +0x805, 0x180076135 mov r9d, eax ; +0x807, 0x180076137 lea ebp, ds:0[rax*4] ; +0x80a, 0x18007613a mov eax, [rbx+22Ch] ; +0x811, 0x180076141 mov edx, eax ; +0x817, 0x180076147 shl edx, 0Bh ; +0x819, 0x180076149 xor edx, eax ; +0x81c, 0x18007614c mov eax, [rbx+230h] ; +0x81e, 0x18007614e mov [rbx+22Ch], eax ; +0x824, 0x180076154 mov eax, [rbx+234h] ; +0x82a, 0x18007615a mov [rbx+230h], eax ; +0x830, 0x180076160 mov eax, [rbx+238h] ; +0x836, 0x180076166 mov ecx, eax ; +0x83c, 0x18007616c shr ecx, 0Bh ; +0x83e, 0x18007616e xor ecx, edx ; +0x841, 0x180076171 mov [rbx+234h], eax ; +0x843, 0x180076173 shr ecx, 8 ; +0x849, 0x180076179 xor ecx, eax ; +0x84c, 0x18007617c xor ecx, edx ; +0x84e, 0x18007617e mov [rbx+238h], ecx ; +0x850, 0x180076180 btr ecx, 1Fh ; +0x856, 0x180076186 movd xmm0, ecx ; +0x85a, 0x18007618a cvtdq2ps xmm0, xmm0 ; +0x85e, 0x18007618e mulss xmm0, xmm2 ; +0x861, 0x180076191 addss xmm0, xmm0 ; +0x865, 0x180076195 subss xmm0, xmm1 ; +0x869, 0x180076199 movss dword ptr [rdi], xmm0 ; +0x86d, 0x18007619d add rdi, r8 ; +0x871, 0x1800761a1 mov eax, [rbx+22Ch] ; +0x874, 0x1800761a4 mov edx, eax ; +0x87a, 0x1800761aa shl edx, 0Bh ; +0x87c, 0x1800761ac xor edx, eax ; +0x87f, 0x1800761af mov eax, [rbx+230h] ; +0x881, 0x1800761b1 mov [rbx+22Ch], eax ; +0x887, 0x1800761b7 mov eax, [rbx+234h] ; +0x88d, 0x1800761bd mov [rbx+230h], eax ; +0x893, 0x1800761c3 mov eax, [rbx+238h] ; +0x899, 0x1800761c9 mov ecx, eax ; +0x89f, 0x1800761cf shr ecx, 0Bh ; +0x8a1, 0x1800761d1 xor ecx, edx ; +0x8a4, 0x1800761d4 mov [rbx+234h], eax ; +0x8a6, 0x1800761d6 shr ecx, 8 ; +0x8ac, 0x1800761dc xor ecx, eax ; +0x8af, 0x1800761df xor ecx, edx ; +0x8b1, 0x1800761e1 mov [rbx+238h], ecx ; +0x8b3, 0x1800761e3 btr ecx, 1Fh ; +0x8b9, 0x1800761e9 movd xmm0, ecx ; +0x8bd, 0x1800761ed cvtdq2ps xmm0, xmm0 ; +0x8c1, 0x1800761f1 mulss xmm0, xmm2 ; +0x8c4, 0x1800761f4 addss xmm0, xmm0 ; +0x8c8, 0x1800761f8 subss xmm0, xmm1 ; +0x8cc, 0x1800761fc movss dword ptr [rdi], xmm0 ; +0x8d0, 0x180076200 add rdi, r8 ; +0x8d4, 0x180076204 mov eax, [rbx+22Ch] ; +0x8d7, 0x180076207 mov edx, eax ; +0x8dd, 0x18007620d shl edx, 0Bh ; +0x8df, 0x18007620f xor edx, eax ; +0x8e2, 0x180076212 mov eax, [rbx+230h] ; +0x8e4, 0x180076214 mov [rbx+22Ch], eax ; +0x8ea, 0x18007621a mov eax, [rbx+234h] ; +0x8f0, 0x180076220 mov [rbx+230h], eax ; +0x8f6, 0x180076226 mov eax, [rbx+238h] ; +0x8fc, 0x18007622c mov ecx, eax ; +0x902, 0x180076232 shr ecx, 0Bh ; +0x904, 0x180076234 xor ecx, edx ; +0x907, 0x180076237 mov [rbx+234h], eax ; +0x909, 0x180076239 shr ecx, 8 ; +0x90f, 0x18007623f xor ecx, eax ; +0x912, 0x180076242 xor ecx, edx ; +0x914, 0x180076244 mov [rbx+238h], ecx ; +0x916, 0x180076246 btr ecx, 1Fh ; +0x91c, 0x18007624c movd xmm0, ecx ; +0x920, 0x180076250 cvtdq2ps xmm0, xmm0 ; +0x924, 0x180076254 mulss xmm0, xmm2 ; +0x927, 0x180076257 addss xmm0, xmm0 ; +0x92b, 0x18007625b subss xmm0, xmm1 ; +0x92f, 0x18007625f movss dword ptr [rdi], xmm0 ; +0x933, 0x180076263 add rdi, r8 ; +0x937, 0x180076267 mov eax, [rbx+22Ch] ; +0x93a, 0x18007626a mov edx, eax ; +0x940, 0x180076270 shl edx, 0Bh ; +0x942, 0x180076272 xor edx, eax ; +0x945, 0x180076275 mov eax, [rbx+230h] ; +0x947, 0x180076277 mov [rbx+22Ch], eax ; +0x94d, 0x18007627d mov eax, [rbx+234h] ; +0x953, 0x180076283 mov [rbx+230h], eax ; +0x959, 0x180076289 mov eax, [rbx+238h] ; +0x95f, 0x18007628f mov ecx, eax ; +0x965, 0x180076295 shr ecx, 0Bh ; +0x967, 0x180076297 xor ecx, edx ; +0x96a, 0x18007629a mov [rbx+234h], eax ; +0x96c, 0x18007629c shr ecx, 8 ; +0x972, 0x1800762a2 xor ecx, eax ; +0x975, 0x1800762a5 xor ecx, edx ; +0x977, 0x1800762a7 mov [rbx+238h], ecx ; +0x979, 0x1800762a9 btr ecx, 1Fh ; +0x97f, 0x1800762af movd xmm0, ecx ; +0x983, 0x1800762b3 cvtdq2ps xmm0, xmm0 ; +0x987, 0x1800762b7 mulss xmm0, xmm2 ; +0x98a, 0x1800762ba addss xmm0, xmm0 ; +0x98e, 0x1800762be subss xmm0, xmm1 ; +0x992, 0x1800762c2 movss dword ptr [rdi], xmm0 ; +0x996, 0x1800762c6 add rdi, r8 ; +0x99a, 0x1800762ca sub r9, 1 ; +0x99d, 0x1800762cd jnz loc_180076141 ; +0x9a1, 0x1800762d1 cmp ebp, esi ; +0x9a7, 0x1800762d7 jnb short def_1800759ED; jumptable 00000001800759ED default case ; +0x9a9, 0x1800762d9 mov r9, r14 ; +0x9ab, 0x1800762db shl r9, 2 ; +0x9ae, 0x1800762de sub esi, ebp ; +0x9b2, 0x1800762e2 mov r8d, esi ; +0x9b4, 0x1800762e4 mov eax, [rbx+22Ch] ; +0x9b7, 0x1800762e7 mov edx, eax ; +0x9bd, 0x1800762ed shl edx, 0Bh ; +0x9bf, 0x1800762ef xor edx, eax ; +0x9c2, 0x1800762f2 mov eax, [rbx+230h] ; +0x9c4, 0x1800762f4 mov [rbx+22Ch], eax ; +0x9ca, 0x1800762fa mov eax, [rbx+234h] ; +0x9d0, 0x180076300 mov [rbx+230h], eax ; +0x9d6, 0x180076306 mov eax, [rbx+238h] ; +0x9dc, 0x18007630c mov ecx, eax ; +0x9e2, 0x180076312 shr ecx, 0Bh ; +0x9e4, 0x180076314 xor ecx, edx ; +0x9e7, 0x180076317 mov [rbx+234h], eax ; +0x9e9, 0x180076319 shr ecx, 8 ; +0x9ef, 0x18007631f xor ecx, eax ; +0x9f2, 0x180076322 xor ecx, edx ; +0x9f4, 0x180076324 mov [rbx+238h], ecx ; +0x9f6, 0x180076326 btr ecx, 1Fh ; +0x9fc, 0x18007632c movd xmm0, ecx ; +0xa00, 0x180076330 cvtdq2ps xmm0, xmm0 ; +0xa04, 0x180076334 mulss xmm0, xmm2 ; +0xa07, 0x180076337 addss xmm0, xmm0 ; +0xa0b, 0x18007633b subss xmm0, xmm1 ; +0xa0f, 0x18007633f movss dword ptr [rdi], xmm0 ; +0xa13, 0x180076343 add rdi, r9 ; +0xa17, 0x180076347 sub r8, 1 ; +0xa1a, 0x18007634a jnz short loc_1800762E7 ; +0xa1e, 0x18007634e mov r14, [rsp+48h+arg_10]; jumptable 00000001800759ED default case ; +0xa20, 0x180076350 mov rdi, [rsp+48h+arg_8] ; +0xa25, 0x180076355 mov rbp, [rsp+48h+arg_0] ; +0xa2a, 0x18007635a movaps xmm6, [rsp+48h+var_18] ; +0xa2f, 0x18007635f mov rbx, [rsp+48h+arg_18] ; +0xa34, 0x180076364 xor eax, eax ; +0xa39, 0x180076369 add rsp, 40h ; +0xa3b, 0x18007636b pop rsi ; +0xa3f, 0x18007636f retn ; +0xa40, 0x180076370 align 4 ; +0xa41, 0x180076371 dd offset loc_1800759EF - 180000000h; jump table for switch statement ; +0xa44, 0x180076374