{"type": "func", "start": 6442913568, "end": 6442913884, "name": "sub_180070F20", "pseudocode": "// \n// sub_180070F20 from 0x180070f20 to 0x18007105c (316 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801ad1b0\n// > <???> @ 0x1801f9960\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall sub_180070F20(__int64 *a1)\n{\n  __int64 v1; // rbx\n  unsigned int v2; // edi\n  __int64 v3; // rax\n  __m128i v4; // xmm0\n  __int64 v5; // rax\n  __int64 v6; // rsi\n  int v7; // eax\n  int v8; // xmm2_4\n\n  v1 = *a1;\n  v2 = 0;\n  v3 = *(_QWORD *)(*a1 + 168);\n  *(_QWORD *)(v1 + 1112) = 1065353216;\n  *(_DWORD *)(v1 + 1120) = 0;\n  *(_DWORD *)(v1 + 1124) = 1065353216;\n  *(_DWORD *)(v1 + 1128) = 1061416727;\n  *(_DWORD *)(v1 + 1132) = 1065353216;\n  *(_DWORD *)(v1 + 556) = 1065353216;\n  *(_QWORD *)(v1 + 1136) = 1065353216;\n  *(_DWORD *)(v1 + 1144) = 0;\n  *(_DWORD *)(v1 + 1148) = 1065353216;\n  *(_DWORD *)(v1 + 1152) = 1072464734;\n  *(_QWORD *)(v1 + 1156) = 1065353216;\n  *(_DWORD *)(v1 + 560) = 1065353216;\n  v4 = _mm_cvtsi32_si128(*(_DWORD *)(v3 + 1744));\n  v5 = *(_QWORD *)(v1 + 232);\n  *(float *)(v1 + 552) = (float)(_mm_cvtepi32_ps(v4).m128_f32[0] * 0.5) - 10.0;\n  if ( *(int *)(v5 + 96) <= 0 )\n  {\nLABEL_5:\n    v8 = *(_DWORD *)(v1 + 1168);\n    *(_DWORD *)(v1 + 544) = *(_DWORD *)(v1 + 1164);\n    *(_DWORD *)(v1 + 548) = v8;\n    sub_180072D10(v1);\n  }\n  else\n  {\n    v6 = 0;\n    while ( 1 )\n    {\n      sub_18009C0C0(v1, v2);\n      if ( v7 )\n        break;\n      ++v2;\n      v6 += 8;\n      if ( (signed int)v2 >= *(_DWORD *)(*(_QWORD *)(v1 + 232) + 96LL) )\n        goto LABEL_5;\n    }\n  }\n}", "assembly": "; \n; sub_180070F20 from 0x180070f20 to 0x18007105c (316 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801ad1b0\n; > <???> @ 0x1801f9960\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180070f20\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x180070f25\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x180070f2a\npush    rdi                                                            ; +0xf, 0x180070f2f\nsub     rsp, 20h                                                       ; +0x10, 0x180070f30\nmov     rbx, [rcx]                                                     ; +0x14, 0x180070f34\nxor     ebp, ebp                                                       ; +0x17, 0x180070f37\nmov     edi, ebp                                                       ; +0x19, 0x180070f39\nmov     rax, [rbx+0A8h]                                                ; +0x1b, 0x180070f3b\nmov     qword ptr [rbx+458h], 3F800000h                                ; +0x22, 0x180070f42\nmov     [rbx+460h], ebp                                                ; +0x2d, 0x180070f4d\nmov     dword ptr [rbx+464h], 3F800000h                                ; +0x33, 0x180070f53\nmov     dword ptr [rbx+468h], 3F43EF17h                                ; +0x3d, 0x180070f5d\nmov     dword ptr [rbx+46Ch], 3F800000h                                ; +0x47, 0x180070f67\nmov     dword ptr [rbx+22Ch], 3F800000h                                ; +0x51, 0x180070f71\nmov     qword ptr [rbx+470h], 3F800000h                                ; +0x5b, 0x180070f7b\nmov     [rbx+478h], ebp                                                ; +0x66, 0x180070f86\nmov     dword ptr [rbx+47Ch], 3F800000h                                ; +0x6c, 0x180070f8c\nmov     dword ptr [rbx+480h], 3FEC835Eh                                ; +0x76, 0x180070f96\nmov     qword ptr [rbx+484h], 3F800000h                                ; +0x80, 0x180070fa0\nmov     dword ptr [rbx+230h], 3F800000h                                ; +0x8b, 0x180070fab\nmovd    xmm0, dword ptr [rax+6D0h]                                     ; +0x95, 0x180070fb5\nmov     rax, [rbx+0E8h]                                                ; +0x9d, 0x180070fbd\ncvtdq2ps xmm0, xmm0                                                    ; +0xa4, 0x180070fc4\nmulss   xmm0, cs:dword_18014573C                                       ; +0xa7, 0x180070fc7\nsubss   xmm0, cs:flt_180145764                                         ; +0xaf, 0x180070fcf\nmovss   dword ptr [rbx+228h], xmm0                                     ; +0xb7, 0x180070fd7\ncmp     [rax+60h], ebp                                                 ; +0xbf, 0x180070fdf\njle     short loc_18007101D                                            ; +0xc2, 0x180070fe2\nmov     esi, ebp                                                       ; +0xc4, 0x180070fe4\nnop     word ptr [rax+rax+00000000h]                                   ; +0xc6, 0x180070fe6\nmov     rax, [rax+68h]                                                 ; +0xd0, 0x180070ff0\nmov     edx, edi                                                       ; +0xd4, 0x180070ff4\nmov     rcx, [rax+rsi]                                                 ; +0xd6, 0x180070ff6\nmovss   xmm2, dword ptr [rcx+38h]                                      ; +0xda, 0x180070ffa\nmov     rcx, rbx                                                       ; +0xdf, 0x180070fff\ncall    sub_18009C0C0                                                  ; +0xe2, 0x180071002\ntest    eax, eax                                                       ; +0xe7, 0x180071007\njnz     short loc_180071047                                            ; +0xe9, 0x180071009\nmov     rax, [rbx+0E8h]                                                ; +0xeb, 0x18007100b\ninc     edi                                                            ; +0xf2, 0x180071012\nadd     rsi, 8                                                         ; +0xf4, 0x180071014\ncmp     edi, [rax+60h]                                                 ; +0xf8, 0x180071018\njl      short loc_180070FF0                                            ; +0xfb, 0x18007101b\nmovss   xmm1, dword ptr [rbx+48Ch]                                     ; +0xfd, 0x18007101d\nmov     rcx, rbx                                                       ; +0x105, 0x180071025\nmovss   xmm2, dword ptr [rbx+490h]                                     ; +0x108, 0x180071028\nmovss   dword ptr [rbx+220h], xmm1                                     ; +0x110, 0x180071030\nmovss   dword ptr [rbx+224h], xmm2                                     ; +0x118, 0x180071038\ncall    sub_180072D10                                                  ; +0x120, 0x180071040\nmov     eax, ebp                                                       ; +0x125, 0x180071045\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x127, 0x180071047\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x12c, 0x18007104c\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x131, 0x180071051\nadd     rsp, 20h                                                       ; +0x136, 0x180071056\npop     rdi                                                            ; +0x13a, 0x18007105a\nretn                                                                   ; +0x13b, 0x18007105b", "xrefs": ["<???> @ 0x1801ad1b0", "<???> @ 0x1801f9960"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}