{"type": "func", "start": 6442512112, "end": 6442512209, "name": "sub_18000EEF0", "pseudocode": "// \n// sub_18000EEF0 from 0x18000eef0 to 0x18000ef51 (97 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x18016c850\n// > <???> @ 0x18016cac8\n// > <???> @ 0x1801f6d14\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:52:44 +0000\n// \n\n__int64 __fastcall sub_18000EEF0(_DWORD *a1, _DWORD *a2)\n{\n  __int64 result; // rax\n  char v5; // [rsp+30h] [rbp+8h] BYREF\n\n  result = (*(__int64 (__fastcall **)(_DWORD *, char *))(*(_QWORD *)a1 + 152LL))(a1, &v5);\n  if ( !(_DWORD)result )\n  {\n    if ( (v5 & 0x10) != 0 )\n    {\n      if ( a2 )\n      {\n        *a2 = a1[60];\n        return 0;\n      }\n      else\n      {\n        return 31;\n      }\n    }\n    else\n    {\n      return 40;\n    }\n  }\n  return result;\n}", "assembly": "; \n; sub_18000EEF0 from 0x18000eef0 to 0x18000ef51 (97 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x18016c850\n; > <???> @ 0x18016cac8\n; > <???> @ 0x1801f6d14\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:52:44 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x18000eef0\npush    rdi                                                            ; +0x5, 0x18000eef5\nsub     rsp, 20h                                                       ; +0x6, 0x18000eef6\nmov     rax, [rcx]                                                     ; +0xa, 0x18000eefa\nmov     rbx, rdx                                                       ; +0xd, 0x18000eefd\nlea     rdx, [rsp+28h+arg_0]                                           ; +0x10, 0x18000ef00\nmov     rdi, rcx                                                       ; +0x15, 0x18000ef05\ncall    qword ptr [rax+98h]                                            ; +0x18, 0x18000ef08\ntest    eax, eax                                                       ; +0x1e, 0x18000ef0e\njnz     short loc_18000EF46                                            ; +0x20, 0x18000ef10\ntest    [rsp+28h+arg_0], 10h                                           ; +0x22, 0x18000ef12\njnz     short loc_18000EF29                                            ; +0x27, 0x18000ef17\nmov     eax, 28h ; '('                                                 ; +0x29, 0x18000ef19\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x2e, 0x18000ef1e\nadd     rsp, 20h                                                       ; +0x33, 0x18000ef23\npop     rdi                                                            ; +0x37, 0x18000ef27\nretn                                                                   ; +0x38, 0x18000ef28\ntest    rbx, rbx                                                       ; +0x39, 0x18000ef29\njnz     short loc_18000EF3C                                            ; +0x3c, 0x18000ef2c\nlea     eax, [rbx+1Fh]                                                 ; +0x3e, 0x18000ef2e\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x41, 0x18000ef31\nadd     rsp, 20h                                                       ; +0x46, 0x18000ef36\npop     rdi                                                            ; +0x4a, 0x18000ef3a\nretn                                                                   ; +0x4b, 0x18000ef3b\nmov     eax, [rdi+0F0h]                                                ; +0x4c, 0x18000ef3c\nmov     [rbx], eax                                                     ; +0x52, 0x18000ef42\nxor     eax, eax                                                       ; +0x54, 0x18000ef44\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x56, 0x18000ef46\nadd     rsp, 20h                                                       ; +0x5b, 0x18000ef4b\npop     rdi                                                            ; +0x5f, 0x18000ef4f\nretn                                                                   ; +0x60, 0x18000ef50", "xrefs": ["<???> @ 0x18016c850", "<???> @ 0x18016cac8", "<???> @ 0x1801f6d14"], "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"}