{"type": "func", "start": 6443104288, "end": 6443104338, "name": "sub_18009F820", "pseudocode": "// \n// sub_18009F820 from 0x18009f820 to 0x18009f852 (50 bytes)\n// \n// 3 xrefs:\n// > sub_1800A0210 @ 0x1800a0246\n// > sub_1800A19A0 @ 0x1800a1c69\n// > <???> @ 0x1801b76f8\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_18009F820(__int64 a1)\n{\n  __int64 v2; // rcx\n  __int64 result; // rax\n\n  v2 = *(_QWORD *)(a1 + 56);\n  if ( *(_QWORD *)(a1 + 32) )\n    return (*(__int64 (__fastcall **)(__int64))(a1 + 24))(v2);\n  result = (*(unsigned int (__fastcall **)(__int64))(a1 + 72))(v2);\n  if ( (_DWORD)result == -1 )\n    return -1;\n  return result;\n}", "assembly": "; \n; sub_18009F820 from 0x18009f820 to 0x18009f852 (50 bytes)\n; \n; 3 xrefs:\n; > sub_1800A0210 @ 0x1800a0246\n; > sub_1800A19A0 @ 0x1800a1c69\n; > <???> @ 0x1801b76f8\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\nsub     rsp, 28h                                                       ; +0x0, 0x18009f820\nmov     rax, rcx                                                       ; +0x4, 0x18009f824\nmov     rcx, [rcx+38h]                                                 ; +0x7, 0x18009f827\ncmp     qword ptr [rax+20h], 0                                         ; +0xb, 0x18009f82b\njz      short loc_18009F83A                                            ; +0x10, 0x18009f830\nadd     rsp, 28h                                                       ; +0x12, 0x18009f832\njmp     qword ptr [rax+18h]                                            ; +0x16, 0x18009f836\ncall    qword ptr [rax+48h]                                            ; +0x1a, 0x18009f83a\nmov     eax, eax                                                       ; +0x1d, 0x18009f83d\nmov     rcx, 0FFFFFFFFFFFFFFFFh                                        ; +0x1f, 0x18009f83f\ncmp     eax, 0FFFFFFFFh                                                ; +0x26, 0x18009f846\ncmovz   rax, rcx                                                       ; +0x29, 0x18009f849\nadd     rsp, 28h                                                       ; +0x2d, 0x18009f84d\nretn                                                                   ; +0x31, 0x18009f851", "xrefs": ["sub_1800A0210 @ 0x1800a0246", "sub_1800A19A0 @ 0x1800a1c69", "<???> @ 0x1801b76f8"], "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"}