{"type": "func", "start": 6442910528, "end": 6442911006, "name": "sub_180070340", "pseudocode": "// \n// sub_180070340 from 0x180070340 to 0x18007051e (478 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x180183734\n// > <???> @ 0x1801ad0c0\n// > <???> @ 0x1801f98f4\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:29 +0000\n// \n\nvoid __fastcall sub_180070340(__int64 *a1, __int64 a2, __int64 a3)\n{\n  __int64 v3; // rbx\n  __int64 v4; // rax\n  unsigned int v5; // edi\n  __int64 i; // rsi\n  _DWORD *v7; // rcx\n  int v8; // eax\n\n  v3 = *a1;\n  *(_DWORD *)(v3 + 544) = 1065353216;\n  *(_DWORD *)(v3 + 548) = 1065353216;\n  *(_DWORD *)(v3 + 552) = 1065353216;\n  *(_DWORD *)(v3 + 556) = 1065353216;\n  *(_DWORD *)(v3 + 560) = 1065353216;\n  *(_DWORD *)(v3 + 564) = 1065353216;\n  *(_DWORD *)(v3 + 568) = 1065353216;\n  *(_DWORD *)(v3 + 572) = 1065353216;\n  *(_DWORD *)(v3 + 576) = 1065353216;\n  *(_DWORD *)(v3 + 580) = 1065353216;\n  *(_DWORD *)(v3 + 584) = 1065353216;\n  *(_DWORD *)(v3 + 588) = 1065353216;\n  *(_DWORD *)(v3 + 592) = 1065353216;\n  *(_DWORD *)(v3 + 596) = 1065353216;\n  *(_DWORD *)(v3 + 600) = 1065353216;\n  *(_DWORD *)(v3 + 604) = 1065353216;\n  *(_DWORD *)(v3 + 608) = 1065353216;\n  *(_DWORD *)(v3 + 612) = 1065353216;\n  *(_DWORD *)(v3 + 616) = 1065353216;\n  *(_DWORD *)(v3 + 620) = 1065353216;\n  *(_DWORD *)(v3 + 624) = 1065353216;\n  *(_DWORD *)(v3 + 628) = 1065353216;\n  *(_DWORD *)(v3 + 632) = 1065353216;\n  *(_DWORD *)(v3 + 636) = 1065353216;\n  *(_DWORD *)(v3 + 640) = 1065353216;\n  *(_DWORD *)(v3 + 644) = 1065353216;\n  *(_DWORD *)(v3 + 648) = 1065353216;\n  *(_DWORD *)(v3 + 652) = 1065353216;\n  *(_DWORD *)(v3 + 656) = 1065353216;\n  *(_DWORD *)(v3 + 660) = 1065353216;\n  *(_DWORD *)(v3 + 664) = 1065353216;\n  *(_DWORD *)(v3 + 668) = 1065353216;\n  if ( v3 != -672 )\n    *(_DWORD *)(v3 + 672) = *(_DWORD *)(*(_QWORD *)(v3 + 168) + 1744LL);\n  v4 = *(_QWORD *)(v3 + 232);\n  v5 = 0;\n  if ( *(int *)(v4 + 96) > 0 )\n  {\n    for ( i = 0; ; i += 8 )\n    {\n      v7 = *(_DWORD **)(i + *(_QWORD *)(v4 + 104));\n      if ( !*v7 )\n        break;\n      if ( *v7 == 2 )\n      {\n        LOBYTE(a3) = v7[12] != 0;\n        v8 = sub_18009BC60(v3, v5, a3);\n        goto LABEL_9;\n      }\nLABEL_10:\n      v4 = *(_QWORD *)(v3 + 232);\n      if ( (signed int)++v5 >= *(_DWORD *)(v4 + 96) )\n        return;\n    }\n    sub_18009C0C0(v3, v5);\nLABEL_9:\n    if ( v8 )\n      return;\n    goto LABEL_10;\n  }\n}", "assembly": "; \n; sub_180070340 from 0x180070340 to 0x18007051e (478 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x180183734\n; > <???> @ 0x1801ad0c0\n; > <???> @ 0x1801f98f4\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:29 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x180070340\npush    rdi                                                            ; +0x5, 0x180070345\nsub     rsp, 20h                                                       ; +0x6, 0x180070346\nmov     rbx, [rcx]                                                     ; +0xa, 0x18007034a\nmov     dword ptr [rbx+220h], 3F800000h                                ; +0xd, 0x18007034d\nlea     rdx, [rbx+2A0h]                                                ; +0x17, 0x180070357\nmov     dword ptr [rbx+224h], 3F800000h                                ; +0x1e, 0x18007035e\nmov     dword ptr [rbx+228h], 3F800000h                                ; +0x28, 0x180070368\nmov     dword ptr [rbx+22Ch], 3F800000h                                ; +0x32, 0x180070372\nmov     dword ptr [rbx+230h], 3F800000h                                ; +0x3c, 0x18007037c\nmov     dword ptr [rbx+234h], 3F800000h                                ; +0x46, 0x180070386\nmov     dword ptr [rbx+238h], 3F800000h                                ; +0x50, 0x180070390\nmov     dword ptr [rbx+23Ch], 3F800000h                                ; +0x5a, 0x18007039a\nmov     dword ptr [rbx+240h], 3F800000h                                ; +0x64, 0x1800703a4\nmov     dword ptr [rbx+244h], 3F800000h                                ; +0x6e, 0x1800703ae\nmov     dword ptr [rbx+248h], 3F800000h                                ; +0x78, 0x1800703b8\nmov     dword ptr [rbx+24Ch], 3F800000h                                ; +0x82, 0x1800703c2\nmov     dword ptr [rbx+250h], 3F800000h                                ; +0x8c, 0x1800703cc\nmov     dword ptr [rbx+254h], 3F800000h                                ; +0x96, 0x1800703d6\nmov     dword ptr [rbx+258h], 3F800000h                                ; +0xa0, 0x1800703e0\nmov     dword ptr [rbx+25Ch], 3F800000h                                ; +0xaa, 0x1800703ea\nmov     dword ptr [rbx+260h], 3F800000h                                ; +0xb4, 0x1800703f4\nmov     dword ptr [rbx+264h], 3F800000h                                ; +0xbe, 0x1800703fe\nmov     dword ptr [rbx+268h], 3F800000h                                ; +0xc8, 0x180070408\nmov     dword ptr [rbx+26Ch], 3F800000h                                ; +0xd2, 0x180070412\nmov     dword ptr [rbx+270h], 3F800000h                                ; +0xdc, 0x18007041c\nmov     dword ptr [rbx+274h], 3F800000h                                ; +0xe6, 0x180070426\nmov     dword ptr [rbx+278h], 3F800000h                                ; +0xf0, 0x180070430\nmov     dword ptr [rbx+27Ch], 3F800000h                                ; +0xfa, 0x18007043a\nmov     dword ptr [rbx+280h], 3F800000h                                ; +0x104, 0x180070444\nmov     dword ptr [rbx+284h], 3F800000h                                ; +0x10e, 0x18007044e\nmov     dword ptr [rbx+288h], 3F800000h                                ; +0x118, 0x180070458\nmov     dword ptr [rbx+28Ch], 3F800000h                                ; +0x122, 0x180070462\nmov     dword ptr [rbx+290h], 3F800000h                                ; +0x12c, 0x18007046c\nmov     dword ptr [rbx+294h], 3F800000h                                ; +0x136, 0x180070476\nmov     dword ptr [rbx+298h], 3F800000h                                ; +0x140, 0x180070480\nmov     dword ptr [rbx+29Ch], 3F800000h                                ; +0x14a, 0x18007048a\ntest    rdx, rdx                                                       ; +0x154, 0x180070494\njz      short loc_1800704A8                                            ; +0x157, 0x180070497\nmov     rax, [rbx+0A8h]                                                ; +0x159, 0x180070499\nmov     ecx, [rax+6D0h]                                                ; +0x160, 0x1800704a0\nmov     [rdx], ecx                                                     ; +0x166, 0x1800704a6\nmov     rax, [rbx+0E8h]                                                ; +0x168, 0x1800704a8\nxor     edi, edi                                                       ; +0x16f, 0x1800704af\nmov     [rsp+28h+arg_0], rsi                                           ; +0x171, 0x1800704b1\ncmp     [rax+60h], edi                                                 ; +0x176, 0x1800704b6\njle     short loc_18007050C                                            ; +0x179, 0x1800704b9\nxor     esi, esi                                                       ; +0x17b, 0x1800704bb\nnop     dword ptr [rax]                                                ; +0x17d, 0x1800704bd\nmov     rax, [rax+68h]                                                 ; +0x180, 0x1800704c0\nmov     rcx, [rsi+rax]                                                 ; +0x184, 0x1800704c4\nmov     eax, [rcx]                                                     ; +0x188, 0x1800704c8\ntest    eax, eax                                                       ; +0x18a, 0x1800704ca\njz      short loc_1800704E7                                            ; +0x18c, 0x1800704cc\ncmp     eax, 2                                                         ; +0x18e, 0x1800704ce\njnz     short loc_1800704FA                                            ; +0x191, 0x1800704d1\ncmp     dword ptr [rcx+30h], 0                                         ; +0x193, 0x1800704d3\nmov     edx, edi                                                       ; +0x197, 0x1800704d7\nmov     rcx, rbx                                                       ; +0x199, 0x1800704d9\nsetnz   r8b                                                            ; +0x19c, 0x1800704dc\ncall    sub_18009BC60                                                  ; +0x1a0, 0x1800704e0\njmp     short loc_1800704F6                                            ; +0x1a5, 0x1800704e5\nmovss   xmm2, dword ptr [rcx+38h]                                      ; +0x1a7, 0x1800704e7\nmov     edx, edi                                                       ; +0x1ac, 0x1800704ec\nmov     rcx, rbx                                                       ; +0x1ae, 0x1800704ee\ncall    sub_18009C0C0                                                  ; +0x1b1, 0x1800704f1\ntest    eax, eax                                                       ; +0x1b6, 0x1800704f6\njnz     short loc_18007050E                                            ; +0x1b8, 0x1800704f8\nmov     rax, [rbx+0E8h]                                                ; +0x1ba, 0x1800704fa\ninc     edi                                                            ; +0x1c1, 0x180070501\nadd     rsi, 8                                                         ; +0x1c3, 0x180070503\ncmp     edi, [rax+60h]                                                 ; +0x1c7, 0x180070507\njl      short loc_1800704C0                                            ; +0x1ca, 0x18007050a\nxor     eax, eax                                                       ; +0x1cc, 0x18007050c\nmov     rsi, [rsp+28h+arg_0]                                           ; +0x1ce, 0x18007050e\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x1d3, 0x180070513\nadd     rsp, 20h                                                       ; +0x1d8, 0x180070518\npop     rdi                                                            ; +0x1dc, 0x18007051c\nretn                                                                   ; +0x1dd, 0x18007051d", "xrefs": ["<???> @ 0x180183734", "<???> @ 0x1801ad0c0", "<???> @ 0x1801f98f4"], "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"}