{"type": "func", "start": 6443010096, "end": 6443010282, "name": "sub_180088830", "pseudocode": "// \n// sub_180088830 from 0x180088830 to 0x1800888ea (186 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801ae430\n// > <???> @ 0x1801fa398\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:41 +0000\n// \n\nvoid __fastcall sub_180088830(__int64 *a1)\n{\n  __int64 v1; // rdi\n  __int64 v2; // rax\n  unsigned int v3; // ebx\n  __int64 i; // rsi\n  _DWORD *v5; // rcx\n  int v6; // eax\n\n  v1 = *a1;\n  *(_DWORD *)(v1 + 564) = 1065353216;\n  *(_DWORD *)(v1 + 544) = 1065353216;\n  *(_DWORD *)(v1 + 552) = 1065353216;\n  *(_DWORD *)(v1 + 608) = -1;\n  *(_BYTE *)(v1 + 612) = 0;\n  *(_DWORD *)(v1 + 560) = -1;\n  _InterlockedOr((volatile signed __int32 *)(v1 + 100), 0x10u);\n  v2 = *(_QWORD *)(v1 + 232);\n  v3 = 0;\n  if ( *(int *)(v2 + 96) > 0 )\n  {\n    for ( i = 0; ; i += 8 )\n    {\n      v5 = *(_DWORD **)(i + *(_QWORD *)(v2 + 104));\n      if ( *v5 == 1 )\n        break;\n      if ( !*v5 )\n      {\n        sub_18009C0C0(v1, v3);\nLABEL_7:\n        if ( v6 )\n          return;\n      }\n      v2 = *(_QWORD *)(v1 + 232);\n      if ( (signed int)++v3 >= *(_DWORD *)(v2 + 96) )\n        return;\n    }\n    v6 = sub_18009C140(v1, v3, (unsigned int)v5[14]);\n    goto LABEL_7;\n  }\n}", "assembly": "; \n; sub_180088830 from 0x180088830 to 0x1800888ea (186 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801ae430\n; > <???> @ 0x1801fa398\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:41 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180088830\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x180088835\npush    rdi                                                            ; +0xa, 0x18008883a\nsub     rsp, 20h                                                       ; +0xb, 0x18008883b\nmov     rdi, [rcx]                                                     ; +0xf, 0x18008883f\nmov     dword ptr [rdi+234h], 3F800000h                                ; +0x12, 0x180088842\nmov     dword ptr [rdi+220h], 3F800000h                                ; +0x1c, 0x18008884c\nmov     dword ptr [rdi+228h], 3F800000h                                ; +0x26, 0x180088856\nmov     dword ptr [rdi+260h], 0FFFFFFFFh                               ; +0x30, 0x180088860\nmov     byte ptr [rdi+264h], 0                                         ; +0x3a, 0x18008886a\nmov     dword ptr [rdi+230h], 0FFFFFFFFh                               ; +0x41, 0x180088871\nlock or dword ptr [rdi+64h], 10h                                       ; +0x4b, 0x18008887b\nmov     rax, [rdi+0E8h]                                                ; +0x50, 0x180088880\nxor     ebx, ebx                                                       ; +0x57, 0x180088887\ncmp     [rax+60h], ebx                                                 ; +0x59, 0x180088889\njle     short loc_1800888D8                                            ; +0x5c, 0x18008888c\nxor     esi, esi                                                       ; +0x5e, 0x18008888e\nmov     rax, [rax+68h]                                                 ; +0x60, 0x180088890\nmov     rcx, [rsi+rax]                                                 ; +0x64, 0x180088894\nmov     eax, [rcx]                                                     ; +0x68, 0x180088898\ncmp     eax, 1                                                         ; +0x6a, 0x18008889a\njnz     short loc_1800888AF                                            ; +0x6d, 0x18008889d\nmov     r8d, [rcx+38h]                                                 ; +0x6f, 0x18008889f\nmov     edx, ebx                                                       ; +0x73, 0x1800888a3\nmov     rcx, rdi                                                       ; +0x75, 0x1800888a5\ncall    sub_18009C140                                                  ; +0x78, 0x1800888a8\njmp     short loc_1800888C2                                            ; +0x7d, 0x1800888ad\ntest    eax, eax                                                       ; +0x7f, 0x1800888af\njnz     short loc_1800888C6                                            ; +0x81, 0x1800888b1\nmovss   xmm2, dword ptr [rcx+38h]                                      ; +0x83, 0x1800888b3\nmov     edx, ebx                                                       ; +0x88, 0x1800888b8\nmov     rcx, rdi                                                       ; +0x8a, 0x1800888ba\ncall    sub_18009C0C0                                                  ; +0x8d, 0x1800888bd\ntest    eax, eax                                                       ; +0x92, 0x1800888c2\njnz     short loc_1800888DA                                            ; +0x94, 0x1800888c4\nmov     rax, [rdi+0E8h]                                                ; +0x96, 0x1800888c6\ninc     ebx                                                            ; +0x9d, 0x1800888cd\nadd     rsi, 8                                                         ; +0x9f, 0x1800888cf\ncmp     ebx, [rax+60h]                                                 ; +0xa3, 0x1800888d3\njl      short loc_180088890                                            ; +0xa6, 0x1800888d6\nxor     eax, eax                                                       ; +0xa8, 0x1800888d8\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xaa, 0x1800888da\nmov     rsi, [rsp+28h+arg_8]                                           ; +0xaf, 0x1800888df\nadd     rsp, 20h                                                       ; +0xb4, 0x1800888e4\npop     rdi                                                            ; +0xb8, 0x1800888e8\nretn                                                                   ; +0xb9, 0x1800888e9", "xrefs": ["<???> @ 0x1801ae430", "<???> @ 0x1801fa398"], "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"}