{"type": "func", "start": 6443402352, "end": 6443402513, "name": "sub_1800E8470", "pseudocode": "// \n// sub_1800E8470 from 0x1800e8470 to 0x1800e8511 (161 bytes)\n// \n// 4 xrefs:\n// > sub_1800BCAD0 @ 0x1800bcc4c\n// > <???> @ 0x18018d3c4\n// > <???> @ 0x18018d3d8\n// > <???> @ 0x1801fff54\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:54:18 +0000\n// \n\n__int64 __fastcall sub_1800E8470(__int64 a1)\n{\n  char v2; // r14\n  int v3; // edi\n  __int64 v4; // rsi\n  __int64 v5; // rdx\n  unsigned int v6; // ebp\n\n  v2 = 0;\n  if ( a1 )\n  {\n    sub_1801021C0(a1, 16);\n    v2 = 1;\n  }\n  v3 = 0;\n  if ( *(int *)(a1 + 1684) <= 0 )\n  {\nLABEL_8:\n    v6 = 0;\n  }\n  else\n  {\n    v4 = 0;\n    while ( 1 )\n    {\n      v5 = *(_QWORD *)(v4 + *(_QWORD *)(a1 + 1696) + 48);\n      if ( v5 )\n      {\n        v6 = sub_1800BDAA0(*(_QWORD *)(a1 + 1648), v5);\n        if ( v6 )\n          break;\n      }\n      ++v3;\n      v4 += 56;\n      if ( v3 >= *(_DWORD *)(a1 + 1684) )\n        goto LABEL_8;\n    }\n  }\n  if ( v2 )\n    sub_180102300(a1, 16);\n  return v6;\n}", "assembly": "; \n; sub_1800E8470 from 0x1800e8470 to 0x1800e8511 (161 bytes)\n; \n; 4 xrefs:\n; > sub_1800BCAD0 @ 0x1800bcc4c\n; > <???> @ 0x18018d3c4\n; > <???> @ 0x18018d3d8\n; > <???> @ 0x1801fff54\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:54:18 +0000\n; \npush    rbx                                                            ; +0x0, 0x1800e8470\nsub     rsp, 20h                                                       ; +0x2, 0x1800e8472\nmov     [rsp+28h+arg_10], rdi                                          ; +0x6, 0x1800e8476\nmov     rbx, rcx                                                       ; +0xb, 0x1800e847b\nmov     [rsp+28h+arg_18], r14                                          ; +0xe, 0x1800e847e\nxor     r14b, r14b                                                     ; +0x13, 0x1800e8483\ntest    rcx, rcx                                                       ; +0x16, 0x1800e8486\njz      short loc_1800E8498                                            ; +0x19, 0x1800e8489\nmov     edx, 10h                                                       ; +0x1b, 0x1800e848b\ncall    sub_1801021C0                                                  ; +0x20, 0x1800e8490\nmov     r14b, 1                                                        ; +0x25, 0x1800e8495\nxor     edi, edi                                                       ; +0x28, 0x1800e8498\nmov     [rsp+28h+arg_0], rbp                                           ; +0x2a, 0x1800e849a\nmov     [rsp+28h+arg_8], rsi                                           ; +0x2f, 0x1800e849f\ncmp     [rbx+694h], edi                                                ; +0x34, 0x1800e84a4\njle     short loc_1800E84E1                                            ; +0x3a, 0x1800e84aa\nxor     esi, esi                                                       ; +0x3c, 0x1800e84ac\nxchg    ax, ax                                                         ; +0x3e, 0x1800e84ae\nmov     rax, [rbx+6A0h]                                                ; +0x40, 0x1800e84b0\nmov     rdx, [rsi+rax+30h]                                             ; +0x47, 0x1800e84b7\ntest    rdx, rdx                                                       ; +0x4c, 0x1800e84bc\njz      short loc_1800E84D3                                            ; +0x4f, 0x1800e84bf\nmov     rcx, [rbx+670h]                                                ; +0x51, 0x1800e84c1\ncall    sub_1800BDAA0                                                  ; +0x58, 0x1800e84c8\nmov     ebp, eax                                                       ; +0x5d, 0x1800e84cd\ntest    eax, eax                                                       ; +0x5f, 0x1800e84cf\njnz     short loc_1800E84E3                                            ; +0x61, 0x1800e84d1\ninc     edi                                                            ; +0x63, 0x1800e84d3\nadd     rsi, 38h ; '8'                                                 ; +0x65, 0x1800e84d5\ncmp     edi, [rbx+694h]                                                ; +0x69, 0x1800e84d9\njl      short loc_1800E84B0                                            ; +0x6f, 0x1800e84df\nxor     ebp, ebp                                                       ; +0x71, 0x1800e84e1\nmov     rdi, [rsp+28h+arg_10]                                          ; +0x73, 0x1800e84e3\ntest    r14b, r14b                                                     ; +0x78, 0x1800e84e8\nmov     r14, [rsp+28h+arg_18]                                          ; +0x7b, 0x1800e84eb\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x80, 0x1800e84f0\njz      short loc_1800E8504                                            ; +0x85, 0x1800e84f5\nmov     edx, 10h                                                       ; +0x87, 0x1800e84f7\nmov     rcx, rbx                                                       ; +0x8c, 0x1800e84fc\ncall    sub_180102300                                                  ; +0x8f, 0x1800e84ff\nmov     eax, ebp                                                       ; +0x94, 0x1800e8504\nmov     rbp, [rsp+28h+arg_0]                                           ; +0x96, 0x1800e8506\nadd     rsp, 20h                                                       ; +0x9b, 0x1800e850b\npop     rbx                                                            ; +0x9f, 0x1800e850f\nretn                                                                   ; +0xa0, 0x1800e8510", "xrefs": ["sub_1800BCAD0 @ 0x1800bcc4c", "<???> @ 0x18018d3c4", "<???> @ 0x18018d3d8", "<???> @ 0x1801fff54"], "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"}