{"type": "func", "start": 6442804384, "end": 6442807128, "name": "sub_1800564A0", "pseudocode": "// \n// sub_1800564A0 from 0x1800564a0 to 0x180056f58 (2744 bytes)\n// \n// 4 xrefs:\n// > sub_180055D60 @ 0x180055d63\n// > <???> @ 0x180182234\n// > <???> @ 0x180182244\n// > <???> @ 0x1801f8dcc\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 10:53:19 +0000\n// \n\n__int64 __fastcall sub_1800564A0(__int64 a1, __int64 a2, __int64 a3, unsigned int a4, int a5)\n{\n  __int64 v6; // r14\n  __int64 v7; // rdi\n  __int64 v9; // rsi\n  float v10; // xmm1_4\n  float v11; // xmm1_4\n  float v12; // xmm2_4\n  int v13; // eax\n  float v14; // xmm1_4\n  __int64 v15; // rax\n  float v16; // xmm1_4\n  __int64 v17; // rax\n  float v18; // xmm1_4\n  float v19; // xmm0_4\n  unsigned int v20; // r13d\n  __int64 v21; // rax\n  __int64 result; // rax\n  __int64 v23; // rcx\n  float v24; // xmm8_4\n  float v25; // xmm6_4\n  __int64 v26; // rax\n  float v27; // xmm0_4\n  float *v28; // r8\n  __int64 v29; // rdx\n  float *v30; // rax\n  unsigned __int64 v31; // rcx\n  float v32; // xmm3_4\n  float v33; // xmm1_4\n  float v34; // xmm1_4\n  float *v35; // rax\n  __int64 v36; // rcx\n  float v37; // xmm6_4\n  unsigned int i; // r14d\n  __m128 v39; // xmm2\n  __int64 v40; // rax\n  signed int v41; // edx\n  unsigned __int64 v42; // r8\n  unsigned __int64 v43; // rdi\n  unsigned __int64 v44; // rsi\n  __int64 v45; // rcx\n  __m128 v46; // xmm1\n  __m128 v47; // xmm0\n  __m128 v48; // xmm2\n  __m128 v49; // xmm1\n  float *v50; // rcx\n  __int64 v51; // rdx\n  float v52; // xmm0_4\n  float v53; // xmm3_4\n  float v54; // xmm1_4\n  float v55; // xmm2_4\n  float v56; // xmm6_4\n  __m128 v57; // xmm0\n  __m128 v58; // xmm2\n  signed __int64 v59; // r8\n  __m128 v60; // xmm3\n  __int64 v61; // rax\n  unsigned __int64 v62; // rax\n  unsigned __int64 v63; // rcx\n  __m128 v64; // xmm0\n  __m128 v65; // xmm1\n  __m128 v66; // xmm0\n  __m128 v67; // xmm1\n  unsigned __int64 v68; // rax\n  unsigned __int64 v69; // rcx\n  unsigned __int64 v70; // rdx\n  unsigned __int64 v71; // rdi\n  unsigned __int64 v72; // rax\n  signed __int64 v73; // rcx\n  __int64 v74; // rax\n  __int64 v75; // r14\n  __int64 v76; // r15\n  __int64 v77; // rbp\n  __int64 v78; // r14\n  float *v79; // rdi\n  __int64 v80; // rsi\n  float v81; // xmm3_4\n  float v82; // xmm2_4\n  float v83; // xmm1_4\n  float v84; // xmm2_4\n  float v85; // xmm2_4\n  float v86; // xmm6_4\n  float v87; // xmm0_4\n  __int64 v89; // [rsp+68h] [rbp-140h]\n  __int64 v90; // [rsp+70h] [rbp-138h] BYREF\n  __int64 v91; // [rsp+78h] [rbp-130h]\n  __int64 v92; // [rsp+80h] [rbp-128h]\n  _BYTE v93[4]; // [rsp+8Ch] [rbp-11Ch] BYREF\n  float v94; // [rsp+90h] [rbp-118h] BYREF\n\n  v6 = a3;\n  v92 = a3;\n  v7 = a2;\n  v91 = a2;\n  if ( !a2 )\n    return 0;\n  v9 = a2;\n  v89 = a2;\n  if ( *(_DWORD *)(a1 + 864) )\n  {\n    if ( *(_QWORD *)(a1 + 200) )\n      v9 = *(_QWORD *)(a1 + 200);\n    v89 = v9;\n  }\n  v10 = *(float *)(a1 + 872);\n  if ( v10 != *(float *)(a1 + 544) || *(_BYTE *)(a1 + 844) )\n  {\n    *(float *)(a1 + 544) = v10;\n    v11 = powf(10.0, v10 * 0.1);\n    *(float *)(a1 + 548) = v11;\n    *(float *)(a1 + 552) = 1.0 / v11;\n  }\n  v12 = *(float *)(a1 + 876);\n  if ( v12 != *(float *)(a1 + 556) || *(_BYTE *)(a1 + 844) )\n  {\n    *(float *)(a1 + 556) = v12;\n    *(float *)(a1 + 560) = (float)(0.5 / v12) - 0.5;\n  }\n  v13 = *(_DWORD *)(a1 + 888);\n  if ( *(_DWORD *)(a1 + 848) != v13 || *(_BYTE *)(a1 + 844) )\n    *(_DWORD *)(a1 + 848) = v13;\n  v14 = *(float *)(a1 + 868);\n  if ( v14 != *(float *)(a1 + 820) || *(_BYTE *)(a1 + 844) )\n  {\n    v15 = *(_QWORD *)(a1 + 168);\n    *(float *)(a1 + 820) = v14;\n    *(float *)(a1 + 824) = 1.0 - expf(-3.11127 / (float)((float)(v14 * 0.001) * (float)*(int *)(v15 + 1744)));\n  }\n  v16 = *(float *)(a1 + 880);\n  if ( v16 != *(float *)(a1 + 828) || *(_BYTE *)(a1 + 844) )\n  {\n    v17 = *(_QWORD *)(a1 + 168);\n    *(float *)(a1 + 828) = v16;\n    *(float *)(a1 + 832) = 1.0 - expf(-3.11127 / (float)((float)(v16 * 0.001) * (float)*(int *)(v17 + 1744)));\n  }\n  v18 = *(float *)(a1 + 884);\n  if ( v18 != *(float *)(a1 + 836) || *(_BYTE *)(a1 + 844) )\n  {\n    *(float *)(a1 + 836) = v18;\n    if ( v18 > -80.0 )\n      v19 = powf(10.0, v18 * 0.050000001);\n    else\n      v19 = 0.0;\n    *(float *)(a1 + 840) = v19;\n  }\n  v20 = 0;\n  *(_BYTE *)(a1 + 844) = 0;\n  if ( *(_QWORD *)(a1 + 856) )\n  {\n    v21 = *(_QWORD *)(a1 + 216);\n    v90 = 0;\n    result = (*(__int64 (__fastcall **)(__int64, __int64 *, _QWORD, _QWORD))(v21 + 64))(a1 + 176, &v90, 0, 0);\n    if ( (_DWORD)result )\n      return result;\n    v23 = v90 - *(_QWORD *)(a1 + 856);\n    v24 = *(float *)(a1 + 832);\n    if ( v23 < 0 )\n    {\n      v26 = v23 & 1 | ((unsigned __int64)(v90 - *(_QWORD *)(a1 + 856)) >> 1);\n      v25 = (float)(int)v26 + (float)(int)v26;\n    }\n    else\n    {\n      v25 = (float)(int)v23;\n    }\n    v27 = powf(1.0 - v24, v25);\n    v28 = (float *)(a1 + 564);\n    v29 = 0;\n    if ( a5 >= 4LL )\n    {\n      v30 = (float *)(a1 + 696);\n      v31 = ((unsigned __int64)(a5 - 4LL) >> 2) + 1;\n      v29 = 4 * v31;\n      v32 = (float)(v25 * v24) * v27;\n      do\n      {\n        *(v30 - 33) = (float)(v32 * *(v30 - 1)) + (float)(v27 * *(v30 - 33));\n        *(v30 - 1) = v27 * *(v30 - 1);\n        *(v30 - 32) = (float)(v27 * *(v30 - 32)) + (float)(v32 * *v30);\n        v33 = v32 * v30[1];\n        *v30 = v27 * *v30;\n        *(v30 - 31) = v33 + (float)(v27 * *(v30 - 31));\n        v34 = v32 * v30[2];\n        v30[1] = v27 * v30[1];\n        *(v30 - 30) = v34 + (float)(v27 * *(v30 - 30));\n        v30[2] = v27 * v30[2];\n        v30 += 4;\n        --v31;\n      }\n      while ( v31 );\n      v28 = (float *)(a1 + 564);\n    }\n    if ( v29 < a5 )\n    {\n      v35 = (float *)(a1 + 692 + 4 * v29);\n      v36 = a5 - v29;\n      v37 = (float)(v25 * v24) * v27;\n      do\n      {\n        *(v35 - 32) = (float)(v27 * *(v35 - 32)) + (float)(v37 * *v35);\n        *v35 = v27 * *v35;\n        ++v35;\n        --v36;\n      }\n      while ( v36 );\n      v28 = (float *)(a1 + 564);\n    }\n    *(_QWORD *)(a1 + 856) = 0;\n  }\n  else\n  {\n    v28 = (float *)(a1 + 564);\n  }\n  if ( a5 != 8 )\n  {\n    switch ( a5 )\n    {\n      case 6:\n        if ( *(_DWORD *)(a1 + 848) )\n        {\n          (*(void (__fastcall **)(__int64, __int64, __int64, _QWORD, __int64, __int64, _DWORD, _DWORD, _DWORD, _DWORD, _DWORD, _DWORD))(qword_1801D2500 + 16))(\n            v7,\n            v6,\n            v9,\n            a4,\n            a1 + 692,\n            a1 + 564,\n            *(_DWORD *)(a1 + 560),\n            *(_DWORD *)(a1 + 840),\n            *(_DWORD *)(a1 + 824),\n            *(_DWORD *)(a1 + 832),\n            *(_DWORD *)(a1 + 548),\n            *(_DWORD *)(a1 + 552));\n          return 0;\n        }\n        break;\n      case 2:\n        if ( *(_DWORD *)(a1 + 848) )\n        {\n          (*(void (__fastcall **)(__int64, __int64, __int64, _QWORD, __int64, float *, _DWORD, _DWORD, _DWORD, _DWORD, _DWORD, _DWORD))(qword_1801D2500 + 8))(\n            v7,\n            v6,\n            v9,\n            a4,\n            a1 + 692,\n            v28,\n            *(_DWORD *)(a1 + 560),\n            *(_DWORD *)(a1 + 840),\n            *(_DWORD *)(a1 + 824),\n            *(_DWORD *)(a1 + 832),\n            *(_DWORD *)(a1 + 548),\n            *(_DWORD *)(a1 + 552));\n          return 0;\n        }\n        break;\n      case 1:\n        if ( *(_DWORD *)(a1 + 848) )\n        {\n          (*(void (__fastcall **)(__int64, __int64, __int64, _QWORD, __int64, float *, _DWORD, _DWORD, _DWORD, _DWORD, _DWORD, _DWORD))qword_1801D2500)(\n            v7,\n            v6,\n            v9,\n            a4,\n            a1 + 692,\n            v28,\n            *(_DWORD *)(a1 + 560),\n            *(_DWORD *)(a1 + 840),\n            *(_DWORD *)(a1 + 824),\n            *(_DWORD *)(a1 + 832),\n            *(_DWORD *)(a1 + 548),\n            *(_DWORD *)(a1 + 552));\n          return 0;\n        }\n        break;\n      default:\n        if ( *(_DWORD *)(a1 + 848) )\n        {\n          for ( i = 0; i < a4; v7 = v91 )\n          {\n            v39 = 0;\n            v40 = a5 * i;\n            v41 = 0;\n            v94 = 0.0;\n            v42 = v9 + 4 * v40;\n            v43 = v7 + 4 * v40;\n            v44 = v92 + 4 * v40;\n            v45 = 0;\n            if ( a5 > 0 )\n            {\n              if ( (unsigned int)a5 < 8\n                || (unsigned __int64)&v94 <= v42 + 4 * (a5 - 1LL) && (unsigned __int64)&v93[4 * a5] >= v42 )\n              {\n                goto LABEL_63;\n              }\n              v46 = 0;\n              do\n              {\n                v41 += 8;\n                v39 = _mm_add_ps(v39, _mm_mul_ps(*(__m128 *)(v42 + 4 * v45), *(__m128 *)(v42 + 4 * v45)));\n                v47 = *(__m128 *)(v42 + 4 * v45 + 16);\n                v45 += 8;\n                v46 = _mm_add_ps(v46, _mm_mul_ps(v47, v47));\n              }\n              while ( v41 < (int)(a5 & 0xFFFFFFF8) );\n              v48 = _mm_add_ps(v39, v46);\n              v49 = _mm_add_ps(_mm_movehl_ps(v48, v48), v48);\n              v94 = v49.m128_f32[0] + _mm_shuffle_ps(v49, v49, 245).m128_f32[0];\n              v39 = (__m128)LODWORD(v94);\n              if ( v41 < a5 )\n              {\nLABEL_63:\n                v50 = (float *)(v42 + 4 * v45);\n                v51 = (unsigned int)(a5 - v41);\n                do\n                {\n                  v52 = *v50++;\n                  v39.m128_f32[0] = v39.m128_f32[0] + (float)(v52 * v52);\n                  --v51;\n                }\n                while ( v51 );\n              }\n            }\n            v53 = *(float *)(a1 + 564);\n            if ( v39.m128_f32[0] <= v53 )\n              v54 = *(float *)(a1 + 832);\n            else\n              v54 = *(float *)(a1 + 824);\n            v55 = (float)((float)(v39.m128_f32[0] - *(float *)(a1 + 692)) * v54) + *(float *)(a1 + 692);\n            *(float *)(a1 + 692) = v55;\n            v39.m128_f32[0] = (float)((float)(v55 - v53) * v54) + v53;\n            *(_DWORD *)(a1 + 564) = v39.m128_i32[0];\n            v56 = *(float *)(a1 + 840);\n            if ( v39.m128_f32[0] <= *(float *)(a1 + 548) )\n            {\n              v58 = (__m128)*(unsigned int *)(a1 + 840);\n            }\n            else\n            {\n              v39.m128_f32[0] = v39.m128_f32[0] * *(float *)(a1 + 552);\n              v57 = v39;\n              v57.m128_f32[0] = powf(v39.m128_f32[0], *(float *)(a1 + 560));\n              v58 = v57;\n              v58.m128_f32[0] = v57.m128_f32[0] * v56;\n            }\n            v59 = 0;\n            if ( a5 >= 16 )\n            {\n              v60 = _mm_shuffle_ps(v58, v58, 0);\n              v61 = a5 - 1LL;\n              if ( v44 > v43 + 4 * v61 || v44 + 4 * v61 < v43 )\n              {\n                v62 = v44 + 16;\n                v63 = v43 - v44;\n                do\n                {\n                  v64 = *(__m128 *)(v63 + v62 - 16);\n                  v59 += 16LL;\n                  v65 = *(__m128 *)(v63 + v62);\n                  v62 += 64LL;\n                  *(__m128 *)(v62 - 80) = _mm_mul_ps(v64, v60);\n                  v66 = *(__m128 *)(v63 + v62 - 48);\n                  *(__m128 *)(v62 - 64) = _mm_mul_ps(v65, v60);\n                  v67 = _mm_mul_ps(*(__m128 *)(v63 + v62 - 32), v60);\n                  *(__m128 *)(v62 - 48) = _mm_mul_ps(v66, v60);\n                  *(__m128 *)(v62 - 32) = v67;\n                }\n                while ( v59 < (__int64)(a5 & 0xFFFFFFFFFFFFFFF0uLL) );\n              }\n            }\n            if ( v59 < a5 )\n            {\n              if ( a5 - v59 < 4 )\n                goto LABEL_81;\n              v68 = v44 + 4 * (v59 + 1);\n              v69 = v43 - v44;\n              v70 = ((unsigned __int64)(a5 - v59 - 4) >> 2) + 1;\n              v59 += 4 * v70;\n              do\n              {\n                v68 += 16LL;\n                *(float *)(v68 - 20) = v58.m128_f32[0] * *(float *)(v69 + v68 - 20);\n                *(float *)(v68 - 16) = v58.m128_f32[0] * *(float *)(v68 + v69 - 16);\n                *(float *)(v68 - 12) = v58.m128_f32[0] * *(float *)(v69 + v68 - 12);\n                *(float *)(v68 - 8) = v58.m128_f32[0] * *(float *)(v69 + v68 - 8);\n                --v70;\n              }\n              while ( v70 );\n              if ( v59 < a5 )\n              {\nLABEL_81:\n                v71 = v43 - v44;\n                v72 = v44 + 4 * v59;\n                v73 = a5 - v59;\n                do\n                {\n                  v72 += 4LL;\n                  *(float *)(v72 - 4) = v58.m128_f32[0] * *(float *)(v72 + v71 - 4);\n                  --v73;\n                }\n                while ( v73 );\n              }\n            }\n            v9 = v89;\n            ++i;\n          }\n          return 0;\n        }\n        break;\n    }\nLABEL_85:\n    if ( a4 )\n    {\n      do\n      {\n        v74 = a5 * v20;\n        v75 = v6 + 4 * v74;\n        if ( a5 > 0 )\n        {\n          v76 = v9 + 4 * v74 - a1;\n          v77 = v7 + 4 * v74 - a1;\n          v78 = v75 - a1;\n          v79 = v28;\n          v80 = (unsigned int)a5;\n          do\n          {\n            v81 = *v79;\n            v82 = *(float *)((char *)v79 + v76 - 564) * *(float *)((char *)v79 + v76 - 564);\n            if ( v82 <= *v79 )\n              v83 = *(float *)(a1 + 832);\n            else\n              v83 = *(float *)(a1 + 824);\n            v84 = (float)((float)(v82 - v79[32]) * v83) + v79[32];\n            v79[32] = v84;\n            v85 = (float)((float)(v84 - v81) * v83) + v81;\n            *v79 = v85;\n            if ( v85 <= *(float *)(a1 + 548) )\n            {\n              v87 = *(float *)(a1 + 840);\n            }\n            else\n            {\n              v86 = *(float *)(a1 + 840);\n              v87 = powf(v85 * *(float *)(a1 + 552), *(float *)(a1 + 560)) * v86;\n            }\n            *(float *)((char *)v79 + v78 - 564) = v87 * *(float *)((char *)v79 + v77 - 564);\n            ++v79;\n            --v80;\n          }\n          while ( v80 );\n          v9 = v89;\n          v7 = v91;\n        }\n        v6 = v92;\n        v28 = (float *)(a1 + 564);\n        ++v20;\n      }\n      while ( v20 < a4 );\n    }\n    return 0;\n  }\n  if ( !*(_DWORD *)(a1 + 848) )\n    goto LABEL_85;\n  (*(void (__fastcall **)(__int64, __int64, __int64, _QWORD, __int64, __int64, _DWORD, _DWORD, _DWORD, _DWORD, _DWORD, _DWORD))(qword_1801D2500 + 24))(\n    v7,\n    v6,\n    v9,\n    a4,\n    a1 + 692,\n    a1 + 564,\n    *(_DWORD *)(a1 + 560),\n    *(_DWORD *)(a1 + 840),\n    *(_DWORD *)(a1 + 824),\n    *(_DWORD *)(a1 + 832),\n    *(_DWORD *)(a1 + 548),\n    *(_DWORD *)(a1 + 552));\n  return 0;\n}", "assembly": "; \n; sub_1800564A0 from 0x1800564a0 to 0x180056f58 (2744 bytes)\n; \n; 4 xrefs:\n; > sub_180055D60 @ 0x180055d63\n; > <???> @ 0x180182234\n; > <???> @ 0x180182244\n; > <???> @ 0x1801f8dcc\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 10:53:19 +0000\n; \nmov     rax, rsp                                                       ; +0x0, 0x1800564a0\npush    rbx                                                            ; +0x3, 0x1800564a3\npush    rbp                                                            ; +0x4, 0x1800564a4\npush    rsi                                                            ; +0x5, 0x1800564a5\npush    rdi                                                            ; +0x6, 0x1800564a6\npush    r12                                                            ; +0x7, 0x1800564a7\npush    r13                                                            ; +0x9, 0x1800564a9\npush    r14                                                            ; +0xb, 0x1800564ab\npush    r15                                                            ; +0xd, 0x1800564ad\nsub     rsp, 168h                                                      ; +0xf, 0x1800564af\nmovaps  xmmword ptr [rax-58h], xmm6                                    ; +0x16, 0x1800564b6\nmovaps  xmmword ptr [rax-68h], xmm7                                    ; +0x1a, 0x1800564ba\nmovaps  xmmword ptr [rax-78h], xmm8                                    ; +0x1e, 0x1800564be\nmov     rax, cs:__security_cookie                                      ; +0x23, 0x1800564c3\nxor     rax, rsp                                                       ; +0x2a, 0x1800564ca\nmov     [rsp+1A8h+var_98], rax                                         ; +0x2d, 0x1800564cd\nmov     r12d, [rsp+1A8h+arg_20]                                        ; +0x35, 0x1800564d5\nmov     r15d, r9d                                                      ; +0x3d, 0x1800564dd\nmov     [rsp+1A8h+var_148], r9d                                        ; +0x40, 0x1800564e0\nmov     r14, r8                                                        ; +0x45, 0x1800564e5\nmov     [rsp+1A8h+var_128], r8                                         ; +0x48, 0x1800564e8\nmov     rdi, rdx                                                       ; +0x50, 0x1800564f0\nmov     [rsp+1A8h+var_130], rdx                                        ; +0x53, 0x1800564f3\nmov     rbx, rcx                                                       ; +0x58, 0x1800564f8\ntest    rdx, rdx                                                       ; +0x5b, 0x1800564fb\njz      loc_180056F1F                                                  ; +0x5e, 0x1800564fe\ncmp     dword ptr [rcx+360h], 0                                        ; +0x64, 0x180056504\nmov     rsi, rdx                                                       ; +0x6b, 0x18005650b\nmovaps  [rsp+1A8h+var_88], xmm9                                        ; +0x6e, 0x18005650e\nmov     [rsp+1A8h+var_140], rdx                                        ; +0x77, 0x180056517\njz      short loc_180056531                                            ; +0x7c, 0x18005651c\nmov     rax, [rcx+0C8h]                                                ; +0x7e, 0x18005651e\ntest    rax, rax                                                       ; +0x85, 0x180056525\ncmovnz  rsi, rax                                                       ; +0x88, 0x180056528\nmov     [rsp+1A8h+var_140], rsi                                        ; +0x8c, 0x18005652c\nmovss   xmm1, dword ptr [rcx+368h]                                     ; +0x91, 0x180056531\nucomiss xmm1, dword ptr [rcx+220h]                                     ; +0x99, 0x180056539\nmovss   xmm9, cs:flt_180145764                                         ; +0xa0, 0x180056540\nmovss   xmm7, cs:dword_180145744                                       ; +0xa9, 0x180056549\njnz     short loc_18005655C                                            ; +0xb1, 0x180056551\ncmp     byte ptr [rcx+34Ch], 0                                         ; +0xb3, 0x180056553\njz      short loc_18005658F                                            ; +0xba, 0x18005655a\nmovss   dword ptr [rcx+220h], xmm1                                     ; +0xbc, 0x18005655c\nmovaps  xmm0, xmm9; X                                                  ; +0xc4, 0x180056564\nmulss   xmm1, cs:dword_1801674AC; Y                                    ; +0xc8, 0x180056568\ncall    powf                                                           ; +0xd0, 0x180056570\nmovaps  xmm1, xmm0                                                     ; +0xd5, 0x180056575\nmovaps  xmm0, xmm7                                                     ; +0xd8, 0x180056578\ndivss   xmm0, xmm1                                                     ; +0xdb, 0x18005657b\nmovss   dword ptr [rbx+224h], xmm1                                     ; +0xdf, 0x18005657f\nmovss   dword ptr [rbx+228h], xmm0                                     ; +0xe7, 0x180056587\nmovss   xmm2, dword ptr [rbx+36Ch]                                     ; +0xef, 0x18005658f\nucomiss xmm2, dword ptr [rbx+22Ch]                                     ; +0xf7, 0x180056597\njnz     short loc_1800565A9                                            ; +0xfe, 0x18005659e\ncmp     byte ptr [rbx+34Ch], 0                                         ; +0x100, 0x1800565a0\njz      short loc_1800565CC                                            ; +0x107, 0x1800565a7\nmovss   xmm0, cs:dword_18014573C                                       ; +0x109, 0x1800565a9\nmovaps  xmm1, xmm0                                                     ; +0x111, 0x1800565b1\nmovss   dword ptr [rbx+22Ch], xmm2                                     ; +0x114, 0x1800565b4\ndivss   xmm1, xmm2                                                     ; +0x11c, 0x1800565bc\nsubss   xmm1, xmm0                                                     ; +0x120, 0x1800565c0\nmovss   dword ptr [rbx+230h], xmm1                                     ; +0x124, 0x1800565c4\nmov     eax, [rbx+378h]                                                ; +0x12c, 0x1800565cc\ncmp     [rbx+350h], eax                                                ; +0x132, 0x1800565d2\njnz     short loc_1800565E3                                            ; +0x138, 0x1800565d8\ncmp     byte ptr [rbx+34Ch], 0                                         ; +0x13a, 0x1800565da\njz      short loc_1800565E9                                            ; +0x141, 0x1800565e1\nmov     [rbx+350h], eax                                                ; +0x143, 0x1800565e3\nmovss   xmm1, dword ptr [rbx+364h]                                     ; +0x149, 0x1800565e9\nucomiss xmm1, dword ptr [rbx+334h]                                     ; +0x151, 0x1800565f1\nmovss   xmm8, cs:dword_1801457E4                                       ; +0x158, 0x1800565f8\nmovss   xmm6, cs:dword_1801674BC                                       ; +0x161, 0x180056601\njnz     short loc_180056614                                            ; +0x169, 0x180056609\ncmp     byte ptr [rbx+34Ch], 0                                         ; +0x16b, 0x18005660b\njz      short loc_180056652                                            ; +0x172, 0x180056612\nmov     rax, [rbx+0A8h]                                                ; +0x174, 0x180056614\nmovss   dword ptr [rbx+334h], xmm1                                     ; +0x17b, 0x18005661b\nmulss   xmm1, xmm8                                                     ; +0x183, 0x180056623\nmovd    xmm0, dword ptr [rax+6D0h]                                     ; +0x188, 0x180056628\ncvtdq2ps xmm0, xmm0                                                    ; +0x190, 0x180056630\nmulss   xmm1, xmm0                                                     ; +0x193, 0x180056633\nmovaps  xmm0, xmm6                                                     ; +0x197, 0x180056637\ndivss   xmm0, xmm1; X                                                  ; +0x19a, 0x18005663a\ncall    expf                                                           ; +0x19e, 0x18005663e\nmovaps  xmm1, xmm7                                                     ; +0x1a3, 0x180056643\nsubss   xmm1, xmm0                                                     ; +0x1a6, 0x180056646\nmovss   dword ptr [rbx+338h], xmm1                                     ; +0x1aa, 0x18005664a\nmovss   xmm1, dword ptr [rbx+370h]                                     ; +0x1b2, 0x180056652\nucomiss xmm1, dword ptr [rbx+33Ch]                                     ; +0x1ba, 0x18005665a\njnz     short loc_18005666C                                            ; +0x1c1, 0x180056661\ncmp     byte ptr [rbx+34Ch], 0                                         ; +0x1c3, 0x180056663\njz      short loc_1800566AA                                            ; +0x1ca, 0x18005666a\nmov     rax, [rbx+0A8h]                                                ; +0x1cc, 0x18005666c\nmovss   dword ptr [rbx+33Ch], xmm1                                     ; +0x1d3, 0x180056673\nmulss   xmm1, xmm8                                                     ; +0x1db, 0x18005667b\nmovd    xmm0, dword ptr [rax+6D0h]                                     ; +0x1e0, 0x180056680\ncvtdq2ps xmm0, xmm0                                                    ; +0x1e8, 0x180056688\nmulss   xmm1, xmm0                                                     ; +0x1eb, 0x18005668b\ndivss   xmm6, xmm1                                                     ; +0x1ef, 0x18005668f\nmovaps  xmm0, xmm6; X                                                  ; +0x1f3, 0x180056693\ncall    expf                                                           ; +0x1f6, 0x180056696\nmovaps  xmm1, xmm7                                                     ; +0x1fb, 0x18005669b\nsubss   xmm1, xmm0                                                     ; +0x1fe, 0x18005669e\nmovss   dword ptr [rbx+340h], xmm1                                     ; +0x202, 0x1800566a2\nmovss   xmm1, dword ptr [rbx+374h]                                     ; +0x20a, 0x1800566aa\nucomiss xmm1, dword ptr [rbx+344h]                                     ; +0x212, 0x1800566b2\njnz     short loc_1800566C4                                            ; +0x219, 0x1800566b9\ncmp     byte ptr [rbx+34Ch], 0                                         ; +0x21b, 0x1800566bb\njz      short loc_1800566F3                                            ; +0x222, 0x1800566c2\ncomiss  xmm1, cs:dword_1801674C8                                       ; +0x224, 0x1800566c4\nmovss   dword ptr [rbx+344h], xmm1                                     ; +0x22b, 0x1800566cb\nja      short loc_1800566DA                                            ; +0x233, 0x1800566d3\nxorps   xmm0, xmm0                                                     ; +0x235, 0x1800566d5\njmp     short loc_1800566EB                                            ; +0x238, 0x1800566d8\nmulss   xmm1, cs:dword_180164A1C; Y                                    ; +0x23a, 0x1800566da\nmovaps  xmm0, xmm9; X                                                  ; +0x242, 0x1800566e2\ncall    powf                                                           ; +0x246, 0x1800566e6\nmovss   dword ptr [rbx+348h], xmm0                                     ; +0x24b, 0x1800566eb\nmovaps  xmm9, [rsp+1A8h+var_88]                                        ; +0x253, 0x1800566f3\nxor     r13d, r13d                                                     ; +0x25c, 0x1800566fc\nmov     byte ptr [rbx+34Ch], 0                                         ; +0x25f, 0x1800566ff\nmovsxd  rbp, r12d                                                      ; +0x266, 0x180056706\ncmp     [rbx+358h], r13                                                ; +0x269, 0x180056709\njbe     loc_1800568CE                                                  ; +0x270, 0x180056710\nmov     rax, [rbx+0D8h]                                                ; +0x276, 0x180056716\nlea     rcx, [rbx+0B0h]                                                ; +0x27d, 0x18005671d\nxor     r9d, r9d                                                       ; +0x284, 0x180056724\nmov     [rsp+1A8h+var_138], r13                                        ; +0x287, 0x180056727\nxor     r8d, r8d                                                       ; +0x28c, 0x18005672c\nlea     rdx, [rsp+1A8h+var_138]                                        ; +0x28f, 0x18005672f\ncall    qword ptr [rax+40h]                                            ; +0x294, 0x180056734\ntest    eax, eax                                                       ; +0x297, 0x180056737\njnz     loc_180056F21                                                  ; +0x299, 0x180056739\nmov     rcx, [rsp+1A8h+var_138]                                        ; +0x29f, 0x18005673f\nxorps   xmm6, xmm6                                                     ; +0x2a4, 0x180056744\nsub     rcx, [rbx+358h]                                                ; +0x2a7, 0x180056747\nmovss   xmm8, dword ptr [rbx+340h]                                     ; +0x2ae, 0x18005674e\njs      short loc_180056760                                            ; +0x2b7, 0x180056757\ncvtsi2ss xmm6, rcx                                                     ; +0x2b9, 0x180056759\njmp     short loc_180056775                                            ; +0x2be, 0x18005675e\nmov     rax, rcx                                                       ; +0x2c0, 0x180056760\nand     ecx, 1                                                         ; +0x2c3, 0x180056763\nshr     rax, 1                                                         ; +0x2c6, 0x180056766\nor      rax, rcx                                                       ; +0x2c9, 0x180056769\ncvtsi2ss xmm6, rax                                                     ; +0x2cc, 0x18005676c\naddss   xmm6, xmm6                                                     ; +0x2d1, 0x180056771\nsubss   xmm7, xmm8                                                     ; +0x2d5, 0x180056775\nmovaps  xmm1, xmm6; Y                                                  ; +0x2da, 0x18005677a\nmovaps  xmm0, xmm7; X                                                  ; +0x2dd, 0x18005677d\ncall    powf                                                           ; +0x2e0, 0x180056780\nlea     r8, [rbx+234h]                                                 ; +0x2e5, 0x180056785\nmovaps  xmm2, xmm0                                                     ; +0x2ec, 0x18005678c\nmov     rdx, r13                                                       ; +0x2ef, 0x18005678f\ncmp     rbp, 4                                                         ; +0x2f2, 0x180056792\njl      loc_180056872                                                  ; +0x2f6, 0x180056796\nlea     rcx, [rbp-4]                                                   ; +0x2fc, 0x18005679c\nmovaps  xmm3, xmm6                                                     ; +0x300, 0x1800567a0\nshr     rcx, 2                                                         ; +0x303, 0x1800567a3\nlea     rax, [rbx+2B8h]                                                ; +0x307, 0x1800567a7\ninc     rcx                                                            ; +0x30e, 0x1800567ae\nmulss   xmm3, xmm8                                                     ; +0x311, 0x1800567b1\nlea     rdx, ds:0[rcx*4]                                               ; +0x316, 0x1800567b6\nmulss   xmm3, xmm2                                                     ; +0x31e, 0x1800567be\nmovaps  xmm1, xmm3                                                     ; +0x322, 0x1800567c2\nmovaps  xmm0, xmm2                                                     ; +0x325, 0x1800567c5\nmulss   xmm0, dword ptr [rax-84h]                                      ; +0x328, 0x1800567c8\nmulss   xmm1, dword ptr [rax-4]                                        ; +0x330, 0x1800567d0\naddss   xmm1, xmm0                                                     ; +0x335, 0x1800567d5\nmovaps  xmm0, xmm2                                                     ; +0x339, 0x1800567d9\nmovss   dword ptr [rax-84h], xmm1                                      ; +0x33c, 0x1800567dc\nmovaps  xmm1, xmm2                                                     ; +0x344, 0x1800567e4\nmulss   xmm0, dword ptr [rax-4]                                        ; +0x347, 0x1800567e7\nmovss   dword ptr [rax-4], xmm0                                        ; +0x34c, 0x1800567ec\nmovaps  xmm0, xmm3                                                     ; +0x351, 0x1800567f1\nmulss   xmm0, dword ptr [rax]                                          ; +0x354, 0x1800567f4\nmulss   xmm1, dword ptr [rax-80h]                                      ; +0x358, 0x1800567f8\naddss   xmm1, xmm0                                                     ; +0x35d, 0x1800567fd\nmovaps  xmm0, xmm2                                                     ; +0x361, 0x180056801\nmovss   dword ptr [rax-80h], xmm1                                      ; +0x364, 0x180056804\nmovaps  xmm1, xmm3                                                     ; +0x369, 0x180056809\nmulss   xmm0, dword ptr [rax]                                          ; +0x36c, 0x18005680c\nmulss   xmm1, dword ptr [rax+4]                                        ; +0x370, 0x180056810\nmovss   dword ptr [rax], xmm0                                          ; +0x375, 0x180056815\nmovaps  xmm0, xmm2                                                     ; +0x379, 0x180056819\nmulss   xmm0, dword ptr [rax-7Ch]                                      ; +0x37c, 0x18005681c\naddss   xmm1, xmm0                                                     ; +0x381, 0x180056821\nmovaps  xmm0, xmm2                                                     ; +0x385, 0x180056825\nmovss   dword ptr [rax-7Ch], xmm1                                      ; +0x388, 0x180056828\nmovaps  xmm1, xmm3                                                     ; +0x38d, 0x18005682d\nmulss   xmm0, dword ptr [rax+4]                                        ; +0x390, 0x180056830\nmulss   xmm1, dword ptr [rax+8]                                        ; +0x395, 0x180056835\nmovss   dword ptr [rax+4], xmm0                                        ; +0x39a, 0x18005683a\nmovaps  xmm0, xmm2                                                     ; +0x39f, 0x18005683f\nmulss   xmm0, dword ptr [rax-78h]                                      ; +0x3a2, 0x180056842\naddss   xmm1, xmm0                                                     ; +0x3a7, 0x180056847\nmovaps  xmm0, xmm2                                                     ; +0x3ab, 0x18005684b\nmovss   dword ptr [rax-78h], xmm1                                      ; +0x3ae, 0x18005684e\nmulss   xmm0, dword ptr [rax+8]                                        ; +0x3b3, 0x180056853\nmovss   dword ptr [rax+8], xmm0                                        ; +0x3b8, 0x180056858\nadd     rax, 10h                                                       ; +0x3bd, 0x18005685d\nsub     rcx, 1                                                         ; +0x3c1, 0x180056861\njnz     loc_1800567C2                                                  ; +0x3c5, 0x180056865\nlea     r8, [rbx+234h]                                                 ; +0x3cb, 0x18005686b\ncmp     rdx, rbp                                                       ; +0x3d2, 0x180056872\njge     short loc_1800568C5                                            ; +0x3d5, 0x180056875\nmulss   xmm6, xmm8                                                     ; +0x3d7, 0x180056877\nlea     rax, [rbx+2B4h]                                                ; +0x3dc, 0x18005687c\nmov     rcx, rbp                                                       ; +0x3e3, 0x180056883\nlea     rax, [rax+rdx*4]                                               ; +0x3e6, 0x180056886\nsub     rcx, rdx                                                       ; +0x3ea, 0x18005688a\nmulss   xmm6, xmm2                                                     ; +0x3ed, 0x18005688d\nmovaps  xmm0, xmm6                                                     ; +0x3f1, 0x180056891\nmovaps  xmm1, xmm2                                                     ; +0x3f4, 0x180056894\nmulss   xmm0, dword ptr [rax]                                          ; +0x3f7, 0x180056897\nmulss   xmm1, dword ptr [rax-80h]                                      ; +0x3fb, 0x18005689b\naddss   xmm1, xmm0                                                     ; +0x400, 0x1800568a0\nmovaps  xmm0, xmm2                                                     ; +0x404, 0x1800568a4\nmovss   dword ptr [rax-80h], xmm1                                      ; +0x407, 0x1800568a7\nmulss   xmm0, dword ptr [rax]                                          ; +0x40c, 0x1800568ac\nmovss   dword ptr [rax], xmm0                                          ; +0x410, 0x1800568b0\nadd     rax, 4                                                         ; +0x414, 0x1800568b4\nsub     rcx, 1                                                         ; +0x418, 0x1800568b8\njnz     short loc_180056891                                            ; +0x41c, 0x1800568bc\nlea     r8, [rbx+234h]                                                 ; +0x41e, 0x1800568be\nmov     [rbx+358h], r13                                                ; +0x425, 0x1800568c5\njmp     short loc_1800568D5                                            ; +0x42c, 0x1800568cc\nlea     r8, [rbx+234h]                                                 ; +0x42e, 0x1800568ce\ncmp     r12d, 8                                                        ; +0x435, 0x1800568d5\njnz     loc_180056973                                                  ; +0x439, 0x1800568d9\ncmp     [rbx+350h], r13d                                               ; +0x43f, 0x1800568df\njz      loc_180056E17                                                  ; +0x446, 0x1800568e6\nmovss   xmm0, dword ptr [rbx+228h]                                     ; +0x44c, 0x1800568ec\nlea     rax, [rbx+234h]                                                ; +0x454, 0x1800568f4\nmovss   xmm1, dword ptr [rbx+224h]                                     ; +0x45b, 0x1800568fb\nlea     r10, [rbx+2B4h]                                                ; +0x463, 0x180056903\nmovss   [rsp+1A8h+var_150], xmm0                                       ; +0x46a, 0x18005690a\nmov     r9d, r15d                                                      ; +0x470, 0x180056910\nmovss   xmm0, dword ptr [rbx+340h]                                     ; +0x473, 0x180056913\nmov     r8, rsi                                                        ; +0x47b, 0x18005691b\nmovss   [rsp+1A8h+var_158], xmm1                                       ; +0x47e, 0x18005691e\nmov     rdx, r14                                                       ; +0x484, 0x180056924\nmovss   xmm1, dword ptr [rbx+338h]                                     ; +0x487, 0x180056927\nmov     rcx, rdi                                                       ; +0x48f, 0x18005692f\nmovss   [rsp+1A8h+var_160], xmm0                                       ; +0x492, 0x180056932\nmovss   xmm0, dword ptr [rbx+348h]                                     ; +0x498, 0x180056938\nmovss   [rsp+1A8h+var_168], xmm1                                       ; +0x4a0, 0x180056940\nmovss   xmm1, dword ptr [rbx+230h]                                     ; +0x4a6, 0x180056946\nmovss   [rsp+1A8h+var_170], xmm0                                       ; +0x4ae, 0x18005694e\nmovss   [rsp+1A8h+var_178], xmm1                                       ; +0x4b4, 0x180056954\nmov     [rsp+1A8h+var_180], rax                                        ; +0x4ba, 0x18005695a\nmov     rax, cs:qword_1801D2500                                        ; +0x4bf, 0x18005695f\nmov     [rsp+1A8h+var_188], r10                                        ; +0x4c6, 0x180056966\ncall    qword ptr [rax+18h]                                            ; +0x4cb, 0x18005696b\njmp     loc_180056F1F                                                  ; +0x4ce, 0x18005696e\ncmp     r12d, 6                                                        ; +0x4d3, 0x180056973\njnz     loc_180056A11                                                  ; +0x4d7, 0x180056977\ncmp     [rbx+350h], r13d                                               ; +0x4dd, 0x18005697d\njz      loc_180056E17                                                  ; +0x4e4, 0x180056984\nmovss   xmm0, dword ptr [rbx+228h]                                     ; +0x4ea, 0x18005698a\nlea     rax, [rbx+234h]                                                ; +0x4f2, 0x180056992\nmovss   xmm1, dword ptr [rbx+224h]                                     ; +0x4f9, 0x180056999\nlea     rcx, [rbx+2B4h]                                                ; +0x501, 0x1800569a1\nmovss   [rsp+1A8h+var_150], xmm0                                       ; +0x508, 0x1800569a8\nmov     r9d, r15d                                                      ; +0x50e, 0x1800569ae\nmovss   xmm0, dword ptr [rbx+340h]                                     ; +0x511, 0x1800569b1\nmov     r8, rsi                                                        ; +0x519, 0x1800569b9\nmovss   [rsp+1A8h+var_158], xmm1                                       ; +0x51c, 0x1800569bc\nmov     rdx, r14                                                       ; +0x522, 0x1800569c2\nmovss   xmm1, dword ptr [rbx+338h]                                     ; +0x525, 0x1800569c5\nmovss   [rsp+1A8h+var_160], xmm0                                       ; +0x52d, 0x1800569cd\nmovss   xmm0, dword ptr [rbx+348h]                                     ; +0x533, 0x1800569d3\nmovss   [rsp+1A8h+var_168], xmm1                                       ; +0x53b, 0x1800569db\nmovss   xmm1, dword ptr [rbx+230h]                                     ; +0x541, 0x1800569e1\nmovss   [rsp+1A8h+var_170], xmm0                                       ; +0x549, 0x1800569e9\nmovss   [rsp+1A8h+var_178], xmm1                                       ; +0x54f, 0x1800569ef\nmov     [rsp+1A8h+var_180], rax                                        ; +0x555, 0x1800569f5\nmov     rax, cs:qword_1801D2500                                        ; +0x55a, 0x1800569fa\nmov     [rsp+1A8h+var_188], rcx                                        ; +0x561, 0x180056a01\nmov     rcx, rdi                                                       ; +0x566, 0x180056a06\ncall    qword ptr [rax+10h]                                            ; +0x569, 0x180056a09\njmp     loc_180056F1F                                                  ; +0x56c, 0x180056a0c\ncmp     r12d, 2                                                        ; +0x571, 0x180056a11\njnz     loc_180056AA8                                                  ; +0x575, 0x180056a15\ncmp     [rbx+350h], r13d                                               ; +0x57b, 0x180056a1b\njz      loc_180056E17                                                  ; +0x582, 0x180056a22\nmovss   xmm0, dword ptr [rbx+228h]                                     ; +0x588, 0x180056a28\nlea     rax, [rbx+2B4h]                                                ; +0x590, 0x180056a30\nmovss   xmm1, dword ptr [rbx+224h]                                     ; +0x597, 0x180056a37\nmov     r9d, r15d                                                      ; +0x59f, 0x180056a3f\nmovss   [rsp+1A8h+var_150], xmm0                                       ; +0x5a2, 0x180056a42\nmov     rdx, r14                                                       ; +0x5a8, 0x180056a48\nmovss   xmm0, dword ptr [rbx+340h]                                     ; +0x5ab, 0x180056a4b\nmov     rcx, rdi                                                       ; +0x5b3, 0x180056a53\nmovss   [rsp+1A8h+var_158], xmm1                                       ; +0x5b6, 0x180056a56\nmovss   xmm1, dword ptr [rbx+338h]                                     ; +0x5bc, 0x180056a5c\nmovss   [rsp+1A8h+var_160], xmm0                                       ; +0x5c4, 0x180056a64\nmovss   xmm0, dword ptr [rbx+348h]                                     ; +0x5ca, 0x180056a6a\nmovss   [rsp+1A8h+var_168], xmm1                                       ; +0x5d2, 0x180056a72\nmovss   xmm1, dword ptr [rbx+230h]                                     ; +0x5d8, 0x180056a78\nmovss   [rsp+1A8h+var_170], xmm0                                       ; +0x5e0, 0x180056a80\nmovss   [rsp+1A8h+var_178], xmm1                                       ; +0x5e6, 0x180056a86\nmov     [rsp+1A8h+var_180], r8                                         ; +0x5ec, 0x180056a8c\nmov     r8, rsi                                                        ; +0x5f1, 0x180056a91\nmov     [rsp+1A8h+var_188], rax                                        ; +0x5f4, 0x180056a94\nmov     rax, cs:qword_1801D2500                                        ; +0x5f9, 0x180056a99\ncall    qword ptr [rax+8]                                              ; +0x600, 0x180056aa0\njmp     loc_180056F1F                                                  ; +0x603, 0x180056aa3\ncmp     r12d, 1                                                        ; +0x608, 0x180056aa8\njnz     loc_180056B3E                                                  ; +0x60c, 0x180056aac\ncmp     [rbx+350h], r13d                                               ; +0x612, 0x180056ab2\njz      loc_180056E17                                                  ; +0x619, 0x180056ab9\nmovss   xmm0, dword ptr [rbx+228h]                                     ; +0x61f, 0x180056abf\nlea     rax, [rbx+2B4h]                                                ; +0x627, 0x180056ac7\nmovss   xmm1, dword ptr [rbx+224h]                                     ; +0x62e, 0x180056ace\nmov     r9d, r15d                                                      ; +0x636, 0x180056ad6\nmovss   [rsp+1A8h+var_150], xmm0                                       ; +0x639, 0x180056ad9\nmov     rdx, r14                                                       ; +0x63f, 0x180056adf\nmovss   xmm0, dword ptr [rbx+340h]                                     ; +0x642, 0x180056ae2\nmov     rcx, rdi                                                       ; +0x64a, 0x180056aea\nmovss   [rsp+1A8h+var_158], xmm1                                       ; +0x64d, 0x180056aed\nmovss   xmm1, dword ptr [rbx+338h]                                     ; +0x653, 0x180056af3\nmovss   [rsp+1A8h+var_160], xmm0                                       ; +0x65b, 0x180056afb\nmovss   xmm0, dword ptr [rbx+348h]                                     ; +0x661, 0x180056b01\nmovss   [rsp+1A8h+var_168], xmm1                                       ; +0x669, 0x180056b09\nmovss   xmm1, dword ptr [rbx+230h]                                     ; +0x66f, 0x180056b0f\nmovss   [rsp+1A8h+var_170], xmm0                                       ; +0x677, 0x180056b17\nmovss   [rsp+1A8h+var_178], xmm1                                       ; +0x67d, 0x180056b1d\nmov     [rsp+1A8h+var_180], r8                                         ; +0x683, 0x180056b23\nmov     r8, rsi                                                        ; +0x688, 0x180056b28\nmov     [rsp+1A8h+var_188], rax                                        ; +0x68b, 0x180056b2b\nmov     rax, cs:qword_1801D2500                                        ; +0x690, 0x180056b30\ncall    qword ptr [rax]                                                ; +0x697, 0x180056b37\njmp     loc_180056F1F                                                  ; +0x699, 0x180056b39\ncmp     [rbx+350h], r13d                                               ; +0x69e, 0x180056b3e\njz      loc_180056E17                                                  ; +0x6a5, 0x180056b45\nmov     r14d, r13d                                                     ; +0x6ab, 0x180056b4b\ntest    r15d, r15d                                                     ; +0x6ae, 0x180056b4e\njz      loc_180056F1F                                                  ; +0x6b1, 0x180056b51\nnop     word ptr [rax+rax+00000000h]                                   ; +0x6b7, 0x180056b57\nmov     eax, r14d                                                      ; +0x6c0, 0x180056b60\nxorps   xmm2, xmm2                                                     ; +0x6c3, 0x180056b63\nimul    eax, r12d                                                      ; +0x6c6, 0x180056b66\nmov     edx, r13d                                                      ; +0x6ca, 0x180056b6a\nmovss   [rsp+1A8h+var_118], xmm2                                       ; +0x6cd, 0x180056b6d\nmov     ecx, eax                                                       ; +0x6d6, 0x180056b76\nlea     r8, [rsi+rax*4]                                                ; +0x6d8, 0x180056b78\nlea     rdi, [rdi+rax*4]                                               ; +0x6dc, 0x180056b7c\nmov     rax, [rsp+1A8h+var_128]                                        ; +0x6e0, 0x180056b80\nlea     rsi, [rax+rcx*4]                                               ; +0x6e8, 0x180056b88\nmov     rcx, r13                                                       ; +0x6ec, 0x180056b8c\ntest    r12d, r12d                                                     ; +0x6ef, 0x180056b8f\njle     loc_180056C46                                                  ; +0x6f2, 0x180056b92\ncmp     r12d, 8                                                        ; +0x6f8, 0x180056b98\njb      loc_180056C20                                                  ; +0x6fc, 0x180056b9c\nmovsxd  rax, r12d                                                      ; +0x702, 0x180056ba2\nlea     r10, [rsp+1A8h+var_118]                                        ; +0x705, 0x180056ba5\nlea     r9, [rsp+rax*4+1A8h+var_11C]                                   ; +0x70d, 0x180056bad\ndec     rax                                                            ; +0x715, 0x180056bb5\nlea     rax, [r8+rax*4]                                                ; +0x718, 0x180056bb8\ncmp     r10, rax                                                       ; +0x71c, 0x180056bbc\nja      short loc_180056BC6                                            ; +0x71f, 0x180056bbf\ncmp     r9, r8                                                         ; +0x721, 0x180056bc1\njnb     short loc_180056C20                                            ; +0x724, 0x180056bc4\nmov     eax, r12d                                                      ; +0x726, 0x180056bc6\nxorps   xmm1, xmm1                                                     ; +0x729, 0x180056bc9\nand     eax, 0FFFFFFF8h                                                ; +0x72c, 0x180056bcc\nnop                                                                    ; +0x72f, 0x180056bcf\nmovups  xmm0, xmmword ptr [r8+rcx*4]                                   ; +0x730, 0x180056bd0\nadd     edx, 8                                                         ; +0x735, 0x180056bd5\nmulps   xmm0, xmm0                                                     ; +0x738, 0x180056bd8\naddps   xmm2, xmm0                                                     ; +0x73b, 0x180056bdb\nmovups  xmm0, xmmword ptr [r8+rcx*4+10h]                               ; +0x73e, 0x180056bde\nadd     rcx, 8                                                         ; +0x744, 0x180056be4\nmulps   xmm0, xmm0                                                     ; +0x748, 0x180056be8\naddps   xmm1, xmm0                                                     ; +0x74b, 0x180056beb\ncmp     edx, eax                                                       ; +0x74e, 0x180056bee\njl      short loc_180056BD0                                            ; +0x750, 0x180056bf0\naddps   xmm2, xmm1                                                     ; +0x752, 0x180056bf2\nmovaps  xmm1, xmm2                                                     ; +0x755, 0x180056bf5\nmovhlps xmm1, xmm2                                                     ; +0x758, 0x180056bf8\naddps   xmm1, xmm2                                                     ; +0x75b, 0x180056bfb\nmovaps  xmm0, xmm1                                                     ; +0x75e, 0x180056bfe\nshufps  xmm0, xmm1, 0F5h                                               ; +0x761, 0x180056c01\naddss   xmm1, xmm0                                                     ; +0x765, 0x180056c05\nmovss   [rsp+1A8h+var_118], xmm1                                       ; +0x769, 0x180056c09\nmovss   xmm2, [rsp+1A8h+var_118]                                       ; +0x772, 0x180056c12\ncmp     edx, r12d                                                      ; +0x77b, 0x180056c1b\njge     short loc_180056C46                                            ; +0x77e, 0x180056c1e\nmov     eax, r12d                                                      ; +0x780, 0x180056c20\nlea     rcx, [r8+rcx*4]                                                ; +0x783, 0x180056c23\nsub     eax, edx                                                       ; +0x787, 0x180056c27\nmov     edx, eax                                                       ; +0x789, 0x180056c29\nnop     dword ptr [rax+rax+00h]                                        ; +0x78b, 0x180056c2b\nmovss   xmm0, dword ptr [rcx]                                          ; +0x790, 0x180056c30\nadd     rcx, 4                                                         ; +0x794, 0x180056c34\nmulss   xmm0, xmm0                                                     ; +0x798, 0x180056c38\naddss   xmm2, xmm0                                                     ; +0x79c, 0x180056c3c\nsub     rdx, 1                                                         ; +0x7a0, 0x180056c40\njnz     short loc_180056C30                                            ; +0x7a4, 0x180056c44\nmovss   xmm3, dword ptr [rbx+234h]                                     ; +0x7a6, 0x180056c46\ncomiss  xmm2, xmm3                                                     ; +0x7ae, 0x180056c4e\njbe     short loc_180056C5D                                            ; +0x7b1, 0x180056c51\nmovss   xmm1, dword ptr [rbx+338h]                                     ; +0x7b3, 0x180056c53\njmp     short loc_180056C65                                            ; +0x7bb, 0x180056c5b\nmovss   xmm1, dword ptr [rbx+340h]                                     ; +0x7bd, 0x180056c5d\nmovss   xmm0, dword ptr [rbx+2B4h]                                     ; +0x7c5, 0x180056c65\nsubss   xmm2, xmm0                                                     ; +0x7cd, 0x180056c6d\nmulss   xmm2, xmm1                                                     ; +0x7d1, 0x180056c71\naddss   xmm2, xmm0                                                     ; +0x7d5, 0x180056c75\nmovss   dword ptr [rbx+2B4h], xmm2                                     ; +0x7d9, 0x180056c79\nsubss   xmm2, xmm3                                                     ; +0x7e1, 0x180056c81\nmulss   xmm2, xmm1                                                     ; +0x7e5, 0x180056c85\naddss   xmm2, xmm3                                                     ; +0x7e9, 0x180056c89\nmovss   dword ptr [rbx+234h], xmm2                                     ; +0x7ed, 0x180056c8d\ncomiss  xmm2, dword ptr [rbx+224h]                                     ; +0x7f5, 0x180056c95\nmovss   xmm6, dword ptr [rbx+348h]                                     ; +0x7fc, 0x180056c9c\njbe     short loc_180056CC7                                            ; +0x804, 0x180056ca4\nmulss   xmm2, dword ptr [rbx+228h]                                     ; +0x806, 0x180056ca6\nmovss   xmm1, dword ptr [rbx+230h]; Y                                  ; +0x80e, 0x180056cae\nmovaps  xmm0, xmm2; X                                                  ; +0x816, 0x180056cb6\ncall    powf                                                           ; +0x819, 0x180056cb9\nmovaps  xmm2, xmm0                                                     ; +0x81e, 0x180056cbe\nmulss   xmm2, xmm6                                                     ; +0x821, 0x180056cc1\njmp     short loc_180056CCA                                            ; +0x825, 0x180056cc5\nmovaps  xmm2, xmm6                                                     ; +0x827, 0x180056cc7\nmov     r8, r13                                                        ; +0x82a, 0x180056cca\ntest    r12d, r12d                                                     ; +0x82d, 0x180056ccd\njle     short loc_180056D4C                                            ; +0x830, 0x180056cd0\ncmp     r12d, 10h                                                      ; +0x832, 0x180056cd2\njb      short loc_180056D4C                                            ; +0x836, 0x180056cd6\nmovsxd  rax, r12d                                                      ; +0x838, 0x180056cd8\nmovaps  xmm3, xmm2                                                     ; +0x83b, 0x180056cdb\nshufps  xmm3, xmm3, 0                                                  ; +0x83e, 0x180056cde\nlea     rcx, [rax-1]                                                   ; +0x842, 0x180056ce2\ndec     rax                                                            ; +0x846, 0x180056ce6\nlea     rcx, [rsi+rcx*4]                                               ; +0x849, 0x180056ce9\nlea     rax, [rdi+rax*4]                                               ; +0x84d, 0x180056ced\ncmp     rsi, rax                                                       ; +0x851, 0x180056cf1\nja      short loc_180056CFB                                            ; +0x854, 0x180056cf4\ncmp     rcx, rdi                                                       ; +0x856, 0x180056cf6\njnb     short loc_180056D4C                                            ; +0x859, 0x180056cf9\nmovsxd  rdx, r12d                                                      ; +0x85b, 0x180056cfb\nlea     rax, [rsi+10h]                                                 ; +0x85e, 0x180056cfe\nand     rdx, 0FFFFFFFFFFFFFFF0h                                        ; +0x862, 0x180056d02\nmov     rcx, rdi                                                       ; +0x866, 0x180056d06\nsub     rcx, rsi                                                       ; +0x869, 0x180056d09\nnop     dword ptr [rax+00h]                                            ; +0x86c, 0x180056d0c\nmovups  xmm0, xmmword ptr [rcx+rax-10h]                                ; +0x870, 0x180056d10\nadd     r8, 10h                                                        ; +0x875, 0x180056d15\nmovups  xmm1, xmmword ptr [rcx+rax]                                    ; +0x879, 0x180056d19\nlea     rax, [rax+40h]                                                 ; +0x87d, 0x180056d1d\nmulps   xmm0, xmm3                                                     ; +0x881, 0x180056d21\nmulps   xmm1, xmm3                                                     ; +0x884, 0x180056d24\nmovups  xmmword ptr [rax-50h], xmm0                                    ; +0x887, 0x180056d27\nmovups  xmm0, xmmword ptr [rcx+rax-30h]                                ; +0x88b, 0x180056d2b\nmovups  xmmword ptr [rax-40h], xmm1                                    ; +0x890, 0x180056d30\nmulps   xmm0, xmm3                                                     ; +0x894, 0x180056d34\nmovups  xmm1, xmmword ptr [rcx+rax-20h]                                ; +0x897, 0x180056d37\nmulps   xmm1, xmm3                                                     ; +0x89c, 0x180056d3c\nmovups  xmmword ptr [rax-30h], xmm0                                    ; +0x89f, 0x180056d3f\nmovups  xmmword ptr [rax-20h], xmm1                                    ; +0x8a3, 0x180056d43\ncmp     r8, rdx                                                        ; +0x8a7, 0x180056d47\njl      short loc_180056D10                                            ; +0x8aa, 0x180056d4a\ncmp     r8, rbp                                                        ; +0x8ac, 0x180056d4c\njge     loc_180056DFC                                                  ; +0x8af, 0x180056d4f\nmov     rax, rbp                                                       ; +0x8b5, 0x180056d55\nsub     rax, r8                                                        ; +0x8b8, 0x180056d58\ncmp     rax, 4                                                         ; +0x8bb, 0x180056d5b\njl      short loc_180056DD7                                            ; +0x8bf, 0x180056d5f\nlea     rax, [r8+1]                                                    ; +0x8c1, 0x180056d61\nmov     rdx, rbp                                                       ; +0x8c5, 0x180056d65\nsub     rdx, r8                                                        ; +0x8c8, 0x180056d68\nlea     rax, [rsi+rax*4]                                               ; +0x8cb, 0x180056d6b\nsub     rdx, 4                                                         ; +0x8cf, 0x180056d6f\nmov     rcx, rdi                                                       ; +0x8d3, 0x180056d73\nshr     rdx, 2                                                         ; +0x8d6, 0x180056d76\nsub     rcx, rsi                                                       ; +0x8da, 0x180056d7a\ninc     rdx                                                            ; +0x8dd, 0x180056d7d\nlea     r8, [r8+rdx*4]                                                 ; +0x8e0, 0x180056d80\nnop     dword ptr [rax+00h]                                            ; +0x8e4, 0x180056d84\nnop     dword ptr [rax+rax+00000000h]                                  ; +0x8e8, 0x180056d88\nlea     rax, [rax+10h]                                                 ; +0x8f0, 0x180056d90\nmovaps  xmm0, xmm2                                                     ; +0x8f4, 0x180056d94\nmulss   xmm0, dword ptr [rcx+rax-14h]                                  ; +0x8f7, 0x180056d97\nmovaps  xmm1, xmm2                                                     ; +0x8fd, 0x180056d9d\nmovss   dword ptr [rax-14h], xmm0                                      ; +0x900, 0x180056da0\nmovaps  xmm0, xmm2                                                     ; +0x905, 0x180056da5\nmulss   xmm1, dword ptr [rax+rcx-10h]                                  ; +0x908, 0x180056da8\nmovss   dword ptr [rax-10h], xmm1                                      ; +0x90e, 0x180056dae\nmovaps  xmm1, xmm2                                                     ; +0x913, 0x180056db3\nmulss   xmm0, dword ptr [rcx+rax-0Ch]                                  ; +0x916, 0x180056db6\nmovss   dword ptr [rax-0Ch], xmm0                                      ; +0x91c, 0x180056dbc\nmulss   xmm1, dword ptr [rcx+rax-8]                                    ; +0x921, 0x180056dc1\nmovss   dword ptr [rax-8], xmm1                                        ; +0x927, 0x180056dc7\nsub     rdx, 1                                                         ; +0x92c, 0x180056dcc\njnz     short loc_180056D90                                            ; +0x930, 0x180056dd0\ncmp     r8, rbp                                                        ; +0x932, 0x180056dd2\njge     short loc_180056DFC                                            ; +0x935, 0x180056dd5\nsub     rdi, rsi                                                       ; +0x937, 0x180056dd7\nlea     rax, [rsi+r8*4]                                                ; +0x93a, 0x180056dda\nmov     rcx, rbp                                                       ; +0x93e, 0x180056dde\nsub     rcx, r8                                                        ; +0x941, 0x180056de1\nlea     rax, [rax+4]                                                   ; +0x944, 0x180056de4\nmovaps  xmm0, xmm2                                                     ; +0x948, 0x180056de8\nmulss   xmm0, dword ptr [rax+rdi-4]                                    ; +0x94b, 0x180056deb\nmovss   dword ptr [rax-4], xmm0                                        ; +0x951, 0x180056df1\nsub     rcx, 1                                                         ; +0x956, 0x180056df6\njnz     short loc_180056DE4                                            ; +0x95a, 0x180056dfa\nmov     rsi, [rsp+1A8h+var_140]                                        ; +0x95c, 0x180056dfc\ninc     r14d                                                           ; +0x961, 0x180056e01\nmov     rdi, [rsp+1A8h+var_130]                                        ; +0x964, 0x180056e04\ncmp     r14d, r15d                                                     ; +0x969, 0x180056e09\njb      loc_180056B60                                                  ; +0x96c, 0x180056e0c\njmp     loc_180056F1F                                                  ; +0x972, 0x180056e12\ntest    r15d, r15d                                                     ; +0x977, 0x180056e17\njz      loc_180056F1F                                                  ; +0x97a, 0x180056e1a\nmov     eax, r13d                                                      ; +0x980, 0x180056e20\nimul    eax, r12d                                                      ; +0x983, 0x180056e23\nlea     rbp, [rdi+rax*4]                                               ; +0x987, 0x180056e27\nlea     r15, [rsi+rax*4]                                               ; +0x98b, 0x180056e2b\nlea     r14, [r14+rax*4]                                               ; +0x98f, 0x180056e2f\ntest    r12d, r12d                                                     ; +0x993, 0x180056e33\njle     loc_180056F02                                                  ; +0x996, 0x180056e36\nsub     r15, rbx                                                       ; +0x99c, 0x180056e3c\nsub     rbp, rbx                                                       ; +0x99f, 0x180056e3f\nsub     r14, rbx                                                       ; +0x9a2, 0x180056e42\nmov     rdi, r8                                                        ; +0x9a5, 0x180056e45\nmov     rsi, r12                                                       ; +0x9a8, 0x180056e48\nnop     dword ptr [rax+rax+00h]                                        ; +0x9ab, 0x180056e4b\nmovss   xmm2, dword ptr [r15+rdi-234h]                                 ; +0x9b0, 0x180056e50\nmovss   xmm3, dword ptr [rdi]                                          ; +0x9ba, 0x180056e5a\nmulss   xmm2, xmm2                                                     ; +0x9be, 0x180056e5e\ncomiss  xmm2, xmm3                                                     ; +0x9c2, 0x180056e62\njbe     short loc_180056E71                                            ; +0x9c5, 0x180056e65\nmovss   xmm1, dword ptr [rbx+338h]                                     ; +0x9c7, 0x180056e67\njmp     short loc_180056E79                                            ; +0x9cf, 0x180056e6f\nmovss   xmm1, dword ptr [rbx+340h]                                     ; +0x9d1, 0x180056e71\nmovss   xmm0, dword ptr [rdi+80h]                                      ; +0x9d9, 0x180056e79\nsubss   xmm2, xmm0                                                     ; +0x9e1, 0x180056e81\nmulss   xmm2, xmm1                                                     ; +0x9e5, 0x180056e85\naddss   xmm2, xmm0                                                     ; +0x9e9, 0x180056e89\nmovss   dword ptr [rdi+80h], xmm2                                      ; +0x9ed, 0x180056e8d\nsubss   xmm2, xmm3                                                     ; +0x9f5, 0x180056e95\nmulss   xmm2, xmm1                                                     ; +0x9f9, 0x180056e99\naddss   xmm2, xmm3                                                     ; +0x9fd, 0x180056e9d\nmovss   dword ptr [rdi], xmm2                                          ; +0xa01, 0x180056ea1\ncomiss  xmm2, dword ptr [rbx+224h]                                     ; +0xa05, 0x180056ea5\nmovss   xmm6, dword ptr [rbx+348h]                                     ; +0xa0c, 0x180056eac\njbe     short loc_180056ED4                                            ; +0xa14, 0x180056eb4\nmulss   xmm2, dword ptr [rbx+228h]                                     ; +0xa16, 0x180056eb6\nmovss   xmm1, dword ptr [rbx+230h]; Y                                  ; +0xa1e, 0x180056ebe\nmovaps  xmm0, xmm2; X                                                  ; +0xa26, 0x180056ec6\ncall    powf                                                           ; +0xa29, 0x180056ec9\nmulss   xmm0, xmm6                                                     ; +0xa2e, 0x180056ece\njmp     short loc_180056ED7                                            ; +0xa32, 0x180056ed2\nmovaps  xmm0, xmm6                                                     ; +0xa34, 0x180056ed4\nmulss   xmm0, dword ptr [rdi+rbp-234h]                                 ; +0xa37, 0x180056ed7\nmovss   dword ptr [r14+rdi-234h], xmm0                                 ; +0xa40, 0x180056ee0\nadd     rdi, 4                                                         ; +0xa4a, 0x180056eea\nsub     rsi, 1                                                         ; +0xa4e, 0x180056eee\njnz     loc_180056E50                                                  ; +0xa52, 0x180056ef2\nmov     rsi, [rsp+1A8h+var_140]                                        ; +0xa58, 0x180056ef8\nmov     rdi, [rsp+1A8h+var_130]                                        ; +0xa5d, 0x180056efd\nmov     r14, [rsp+1A8h+var_128]                                        ; +0xa62, 0x180056f02\nlea     r8, [rbx+234h]                                                 ; +0xa6a, 0x180056f0a\ninc     r13d                                                           ; +0xa71, 0x180056f11\ncmp     r13d, [rsp+1A8h+var_148]                                       ; +0xa74, 0x180056f14\njb      loc_180056E20                                                  ; +0xa79, 0x180056f19\nxor     eax, eax                                                       ; +0xa7f, 0x180056f1f\nmov     rcx, [rsp+1A8h+var_98]                                         ; +0xa81, 0x180056f21\nxor     rcx, rsp; StackCookie                                          ; +0xa89, 0x180056f29\ncall    __security_check_cookie                                        ; +0xa8c, 0x180056f2c\nlea     r11, [rsp+1A8h+var_40]                                         ; +0xa91, 0x180056f31\nmovaps  xmm6, xmmword ptr [r11-18h]                                    ; +0xa99, 0x180056f39\nmovaps  xmm7, xmmword ptr [r11-28h]                                    ; +0xa9e, 0x180056f3e\nmovaps  xmm8, xmmword ptr [r11-38h]                                    ; +0xaa3, 0x180056f43\nmov     rsp, r11                                                       ; +0xaa8, 0x180056f48\npop     r15                                                            ; +0xaab, 0x180056f4b\npop     r14                                                            ; +0xaad, 0x180056f4d\npop     r13                                                            ; +0xaaf, 0x180056f4f\npop     r12                                                            ; +0xab1, 0x180056f51\npop     rdi                                                            ; +0xab3, 0x180056f53\npop     rsi                                                            ; +0xab4, 0x180056f54\npop     rbp                                                            ; +0xab5, 0x180056f55\npop     rbx                                                            ; +0xab6, 0x180056f56\nretn                                                                   ; +0xab7, 0x180056f57", "xrefs": ["sub_180055D60 @ 0x180055d63", "<???> @ 0x180182234", "<???> @ 0x180182244", "<???> @ 0x1801f8dcc"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}