{"type": "func", "start": 6443128928, "end": 6443129007, "name": "sub_1800A5860", "pseudocode": "// \n// sub_1800A5860 from 0x1800a5860 to 0x1800a58af (79 bytes)\n// \n// 2 xrefs:\n// > sub_1800A6260 @ 0x1800a62fb\n// > <???> @ 0x1801fb778\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n__int64 __fastcall sub_1800A5860(__int64 a1, __int64 a2)\n{\n  int v3; // eax\n\n  if ( !*(_BYTE *)(*(_QWORD *)a1 + 168LL) )\n  {\n    v3 = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a2 + 32LL))(a2, 0);\n    if ( (int)(v3 + 0x80000000) >= 0 && v3 != -2004287231 )\n      return 49;\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)a2 + 16LL))(a2);\n  }\n  return 0;\n}", "assembly": "; \n; sub_1800A5860 from 0x1800a5860 to 0x1800a58af (79 bytes)\n; \n; 2 xrefs:\n; > sub_1800A6260 @ 0x1800a62fb\n; > <???> @ 0x1801fb778\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x1800a5860\nsub     rsp, 20h                                                       ; +0x2, 0x1800a5862\nmov     rax, [rcx]                                                     ; +0x6, 0x1800a5866\nmov     rbx, rdx                                                       ; +0x9, 0x1800a5869\ncmp     byte ptr [rax+0A8h], 0                                         ; +0xc, 0x1800a586c\njnz     short loc_1800A58A7                                            ; +0x13, 0x1800a5873\nmov     rax, [rdx]                                                     ; +0x15, 0x1800a5875\nmov     rcx, rbx                                                       ; +0x18, 0x1800a5878\nxor     edx, edx                                                       ; +0x1b, 0x1800a587b\ncall    qword ptr [rax+20h]                                            ; +0x1d, 0x1800a587d\nmov     edx, 80000000h                                                 ; +0x20, 0x1800a5880\nlea     ecx, [rax+rdx]                                                 ; +0x25, 0x1800a5885\ntest    edx, ecx                                                       ; +0x28, 0x1800a5888\njnz     short loc_1800A589E                                            ; +0x2a, 0x1800a588a\ncmp     eax, 88890101h                                                 ; +0x2c, 0x1800a588c\njz      short loc_1800A589E                                            ; +0x31, 0x1800a5891\nmov     eax, 31h ; '1'                                                 ; +0x33, 0x1800a5893\nadd     rsp, 20h                                                       ; +0x38, 0x1800a5898\npop     rbx                                                            ; +0x3c, 0x1800a589c\nretn                                                                   ; +0x3d, 0x1800a589d\nmov     rax, [rbx]                                                     ; +0x3e, 0x1800a589e\nmov     rcx, rbx                                                       ; +0x41, 0x1800a58a1\ncall    qword ptr [rax+10h]                                            ; +0x44, 0x1800a58a4\nxor     eax, eax                                                       ; +0x47, 0x1800a58a7\nadd     rsp, 20h                                                       ; +0x49, 0x1800a58a9\npop     rbx                                                            ; +0x4d, 0x1800a58ad\nretn                                                                   ; +0x4e, 0x1800a58ae", "xrefs": ["sub_1800A6260 @ 0x1800a62fb", "<???> @ 0x1801fb778"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}