{"type": "func", "start": 6443364160, "end": 6443364205, "name": "sub_1800DEF40", "pseudocode": "// \n// sub_1800DEF40 from 0x1800def40 to 0x1800def6d (45 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x18016d1f8\n// > <???> @ 0x18016d3e8\n// > <???> @ 0x18016d580\n// > <???> @ 0x18016d750\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_1800DEF40(__int64 a1, _DWORD *a2)\n{\n  __int64 v3; // rcx\n  __int64 (*v4)(void); // rax\n\n  if ( !a2 )\n    return 31;\n  v3 = *(_QWORD *)(a1 + 96);\n  if ( v3 )\n  {\n    v4 = *(__int64 (**)(void))(v3 + 232);\n    if ( v4 )\n      return v4();\n  }\n  *a2 = 0;\n  return 19;\n}", "assembly": "; \n; sub_1800DEF40 from 0x1800def40 to 0x1800def6d (45 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x18016d1f8\n; > <???> @ 0x18016d3e8\n; > <???> @ 0x18016d580\n; > <???> @ 0x18016d750\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\ntest    rdx, rdx                                                       ; +0x0, 0x1800def40\njnz     short loc_1800DEF49                                            ; +0x3, 0x1800def43\nlea     eax, [rdx+1Fh]                                                 ; +0x5, 0x1800def45\nretn                                                                   ; +0x8, 0x1800def48\nmov     rcx, [rcx+60h]                                                 ; +0x9, 0x1800def49\ntest    rcx, rcx                                                       ; +0xd, 0x1800def4d\njz      short loc_1800DEF61                                            ; +0x10, 0x1800def50\nmov     rax, [rcx+0E8h]                                                ; +0x12, 0x1800def52\ntest    rax, rax                                                       ; +0x19, 0x1800def59\njz      short loc_1800DEF61                                            ; +0x1c, 0x1800def5c\njmp     rax                                                            ; +0x1e, 0x1800def5e\nmov     dword ptr [rdx], 0                                             ; +0x21, 0x1800def61\nmov     eax, 13h                                                       ; +0x27, 0x1800def67\nretn                                                                   ; +0x2c, 0x1800def6c", "xrefs": ["<???> @ 0x18016d1f8", "<???> @ 0x18016d3e8", "<???> @ 0x18016d580", "<???> @ 0x18016d750"], "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"}