{"type": "func", "start": 6443008224, "end": 6443008303, "name": "sub_1800880E0", "pseudocode": "// \n// sub_1800880E0 from 0x1800880e0 to 0x18008812f (79 bytes)\n// \n// 2 xrefs:\n// > sub_180088B30 @ 0x180088b52\n// > <???> @ 0x1801fa2c0\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\n__int64 __fastcall sub_1800880E0(__int64 a1, int a2)\n{\n  int v3; // eax\n  int v4; // ecx\n  __int64 v5; // r8\n\n  if ( !*(_DWORD *)(a1 + 52) )\n    return 0;\n  v3 = *(_DWORD *)(a1 + 24);\n  if ( !v3 )\n    return 0;\n  v4 = *(_DWORD *)(*(_QWORD *)(a1 + 16) + 4LL * (a2 & (v3 - 1)));\n  if ( v4 == -1 )\n    return 0;\n  v5 = *(_QWORD *)(a1 + 32);\n  while ( *(_DWORD *)(v5 + 16LL * v4) != a2 )\n  {\n    v4 = *(_DWORD *)(v5 + 16LL * v4 + 4);\n    if ( v4 == -1 )\n      return 0;\n  }\n  return *(_QWORD *)(v5 + 16LL * v4 + 8);\n}", "assembly": "; \n; sub_1800880E0 from 0x1800880e0 to 0x18008812f (79 bytes)\n; \n; 2 xrefs:\n; > sub_180088B30 @ 0x180088b52\n; > <???> @ 0x1801fa2c0\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; \ncmp     dword ptr [rcx+34h], 0                                         ; +0x0, 0x1800880e0\nmov     r9, rcx                                                        ; +0x4, 0x1800880e4\njz      short loc_180088126                                            ; +0x7, 0x1800880e7\nmov     eax, [rcx+18h]                                                 ; +0x9, 0x1800880e9\ntest    eax, eax                                                       ; +0xc, 0x1800880ec\njz      short loc_180088126                                            ; +0xe, 0x1800880ee\ndec     eax                                                            ; +0x10, 0x1800880f0\nand     eax, edx                                                       ; +0x12, 0x1800880f2\nmovsxd  r8, eax                                                        ; +0x14, 0x1800880f4\nmov     rax, [rcx+10h]                                                 ; +0x17, 0x1800880f7\nmov     ecx, [rax+r8*4]                                                ; +0x1b, 0x1800880fb\ncmp     ecx, 0FFFFFFFFh                                                ; +0x1f, 0x1800880ff\njz      short loc_180088126                                            ; +0x22, 0x180088102\nmov     r8, [r9+20h]                                                   ; +0x24, 0x180088104\nnop     dword ptr [rax+rax+00000000h]                                  ; +0x28, 0x180088108\nmovsxd  rax, ecx                                                       ; +0x30, 0x180088110\nadd     rax, rax                                                       ; +0x33, 0x180088113\ncmp     [r8+rax*8], edx                                                ; +0x36, 0x180088116\njz      short loc_180088129                                            ; +0x3a, 0x18008811a\nmov     ecx, [r8+rax*8+4]                                              ; +0x3c, 0x18008811c\ncmp     ecx, 0FFFFFFFFh                                                ; +0x41, 0x180088121\njnz     short loc_180088110                                            ; +0x44, 0x180088124\nxor     eax, eax                                                       ; +0x46, 0x180088126\nretn                                                                   ; +0x48, 0x180088128\nmov     rax, [r8+rax*8+8]                                              ; +0x49, 0x180088129\nretn                                                                   ; +0x4e, 0x18008812e", "xrefs": ["sub_180088B30 @ 0x180088b52", "<???> @ 0x1801fa2c0"], "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"}