{"type": "func", "start": 6443206720, "end": 6443206820, "name": "sub_1800B8840", "pseudocode": "// \n// sub_1800B8840 from 0x1800b8840 to 0x1800b88a4 (100 bytes)\n// \n// 3 xrefs:\n// > sub_1800B41E0 @ 0x1800b4210\n// > sub_1800CA520 @ 0x1800ca543\n// > <???> @ 0x1801fd2fc\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:59 +0000\n// \n\nchar __fastcall sub_1800B8840(__int64 a1)\n{\n  __int64 v2; // rdx\n  __int64 v3; // rax\n  _QWORD *i; // rax\n  __int64 v6; // [rsp+38h] [rbp+10h] BYREF\n\n  sub_1800C1750(&v6);\n  v2 = 0;\n  v3 = 0;\n  while ( v6 != *(_QWORD *)(a1 + 8 * v3) )\n  {\n    if ( ++v3 >= 13 )\n    {\n      if ( v6 != *((_QWORD *)off_1801AED20 + 8) )\n      {\n        for ( i = (_QWORD *)((char *)off_1801AED20 + 304); v6 != *i; ++i )\n        {\n          if ( ++v2 >= 5 )\n            return 0;\n        }\n      }\n      return 1;\n    }\n  }\n  return 1;\n}", "assembly": "; \n; sub_1800B8840 from 0x1800b8840 to 0x1800b88a4 (100 bytes)\n; \n; 3 xrefs:\n; > sub_1800B41E0 @ 0x1800b4210\n; > sub_1800CA520 @ 0x1800ca543\n; > <???> @ 0x1801fd2fc\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:59 +0000\n; \npush    rbx                                                            ; +0x0, 0x1800b8840\nsub     rsp, 20h                                                       ; +0x2, 0x1800b8842\nmov     rbx, rcx                                                       ; +0x6, 0x1800b8846\nlea     rcx, [rsp+28h+arg_8]                                           ; +0x9, 0x1800b8849\ncall    sub_1800C1750                                                  ; +0xe, 0x1800b884e\nmov     r8, [rsp+28h+arg_8]                                            ; +0x13, 0x1800b8853\nxor     edx, edx                                                       ; +0x18, 0x1800b8858\nmov     eax, edx                                                       ; +0x1a, 0x1800b885a\nnop     dword ptr [rax+00h]                                            ; +0x1c, 0x1800b885c\ncmp     r8, [rbx+rax*8]                                                ; +0x20, 0x1800b8860\njz      short loc_1800B889C                                            ; +0x24, 0x1800b8864\ninc     rax                                                            ; +0x26, 0x1800b8866\ncmp     rax, 0Dh                                                       ; +0x29, 0x1800b8869\njl      short loc_1800B8860                                            ; +0x2d, 0x1800b886d\nmov     rax, cs:off_1801AED20                                          ; +0x2f, 0x1800b886f\ncmp     r8, [rax+40h]                                                  ; +0x36, 0x1800b8876\njz      short loc_1800B889C                                            ; +0x3a, 0x1800b887a\nadd     rax, 130h                                                      ; +0x3c, 0x1800b887c\ncmp     r8, [rax]                                                      ; +0x42, 0x1800b8882\njz      short loc_1800B889C                                            ; +0x45, 0x1800b8885\ninc     rdx                                                            ; +0x47, 0x1800b8887\nadd     rax, 8                                                         ; +0x4a, 0x1800b888a\ncmp     rdx, 5                                                         ; +0x4e, 0x1800b888e\njl      short loc_1800B8882                                            ; +0x52, 0x1800b8892\nxor     al, al                                                         ; +0x54, 0x1800b8894\nadd     rsp, 20h                                                       ; +0x56, 0x1800b8896\npop     rbx                                                            ; +0x5a, 0x1800b889a\nretn                                                                   ; +0x5b, 0x1800b889b\nmov     al, 1                                                          ; +0x5c, 0x1800b889c\nadd     rsp, 20h                                                       ; +0x5e, 0x1800b889e\npop     rbx                                                            ; +0x62, 0x1800b88a2\nretn                                                                   ; +0x63, 0x1800b88a3", "xrefs": ["sub_1800B41E0 @ 0x1800b4210", "sub_1800CA520 @ 0x1800ca543", "<???> @ 0x1801fd2fc"], "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"}