{"type": "func", "start": 6443334400, "end": 6443334460, "name": "sub_1800D7B00", "pseudocode": "// \n// sub_1800D7B00 from 0x1800d7b00 to 0x1800d7b3c (60 bytes)\n// \n// 3 xrefs:\n// > sub_1800E4790 @ 0x1800e4836\n// > sub_1800FD770 @ 0x1800fd7dd\n// > sub_1800FE610 @ 0x1800fea71\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:12 +0000\n// \n\n__int64 __fastcall sub_1800D7B00(__int64 a1, int a2, _QWORD *a3)\n{\n  _QWORD *v4; // rcx\n  _QWORD *v5; // rax\n\n  if ( !a3 )\n    return 31;\n  v4 = (_QWORD *)(a1 + 384);\n  *a3 = 0;\n  v5 = (_QWORD *)*v4;\n  if ( (_QWORD *)*v4 == v4 )\n    return 54;\n  while ( *((_DWORD *)v5 + 36) != a2 )\n  {\n    v5 = (_QWORD *)*v5;\n    if ( v5 == v4 )\n      return 54;\n  }\n  *a3 = v5;\n  return 0;\n}", "assembly": "; \n; sub_1800D7B00 from 0x1800d7b00 to 0x1800d7b3c (60 bytes)\n; \n; 3 xrefs:\n; > sub_1800E4790 @ 0x1800e4836\n; > sub_1800FD770 @ 0x1800fd7dd\n; > sub_1800FE610 @ 0x1800fea71\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:12 +0000\n; \ntest    r8, r8                                                         ; +0x0, 0x1800d7b00\njnz     short loc_1800D7B0A                                            ; +0x3, 0x1800d7b03\nlea     eax, [r8+1Fh]                                                  ; +0x5, 0x1800d7b05\nretn                                                                   ; +0x9, 0x1800d7b09\nadd     rcx, 180h                                                      ; +0xa, 0x1800d7b0a\nmov     qword ptr [r8], 0                                              ; +0x11, 0x1800d7b11\nmov     rax, [rcx]                                                     ; +0x18, 0x1800d7b18\ncmp     rax, rcx                                                       ; +0x1b, 0x1800d7b1b\njz      short loc_1800D7B30                                            ; +0x1e, 0x1800d7b1e\ncmp     [rax+90h], edx                                                 ; +0x20, 0x1800d7b20\njz      short loc_1800D7B36                                            ; +0x26, 0x1800d7b26\nmov     rax, [rax]                                                     ; +0x28, 0x1800d7b28\ncmp     rax, rcx                                                       ; +0x2b, 0x1800d7b2b\njnz     short loc_1800D7B20                                            ; +0x2e, 0x1800d7b2e\nmov     eax, 36h ; '6'                                                 ; +0x30, 0x1800d7b30\nretn                                                                   ; +0x35, 0x1800d7b35\nmov     [r8], rax                                                      ; +0x36, 0x1800d7b36\nxor     eax, eax                                                       ; +0x39, 0x1800d7b39\nretn                                                                   ; +0x3b, 0x1800d7b3b", "xrefs": ["sub_1800E4790 @ 0x1800e4836", "sub_1800FD770 @ 0x1800fd7dd", "sub_1800FE610 @ 0x1800fea71"], "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"}