{"type": "func", "start": 6442512000, "end": 6442512097, "name": "sub_18000EE80", "pseudocode": "// \n// sub_18000EE80 from 0x18000ee80 to 0x18000eee1 (97 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x18016c860\n// > <???> @ 0x18016cad8\n// > <???> @ 0x1801f6d08\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_18000EE80(_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[61];\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_18000EE80 from 0x18000ee80 to 0x18000eee1 (97 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x18016c860\n; > <???> @ 0x18016cad8\n; > <???> @ 0x1801f6d08\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\nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x18000ee80\npush    rdi                                                            ; +0x5, 0x18000ee85\nsub     rsp, 20h                                                       ; +0x6, 0x18000ee86\nmov     rax, [rcx]                                                     ; +0xa, 0x18000ee8a\nmov     rbx, rdx                                                       ; +0xd, 0x18000ee8d\nlea     rdx, [rsp+28h+arg_0]                                           ; +0x10, 0x18000ee90\nmov     rdi, rcx                                                       ; +0x15, 0x18000ee95\ncall    qword ptr [rax+98h]                                            ; +0x18, 0x18000ee98\ntest    eax, eax                                                       ; +0x1e, 0x18000ee9e\njnz     short loc_18000EED6                                            ; +0x20, 0x18000eea0\ntest    [rsp+28h+arg_0], 10h                                           ; +0x22, 0x18000eea2\njnz     short loc_18000EEB9                                            ; +0x27, 0x18000eea7\nmov     eax, 28h ; '('                                                 ; +0x29, 0x18000eea9\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x2e, 0x18000eeae\nadd     rsp, 20h                                                       ; +0x33, 0x18000eeb3\npop     rdi                                                            ; +0x37, 0x18000eeb7\nretn                                                                   ; +0x38, 0x18000eeb8\ntest    rbx, rbx                                                       ; +0x39, 0x18000eeb9\njnz     short loc_18000EECC                                            ; +0x3c, 0x18000eebc\nlea     eax, [rbx+1Fh]                                                 ; +0x3e, 0x18000eebe\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x41, 0x18000eec1\nadd     rsp, 20h                                                       ; +0x46, 0x18000eec6\npop     rdi                                                            ; +0x4a, 0x18000eeca\nretn                                                                   ; +0x4b, 0x18000eecb\nmov     eax, [rdi+0F4h]                                                ; +0x4c, 0x18000eecc\nmov     [rbx], eax                                                     ; +0x52, 0x18000eed2\nxor     eax, eax                                                       ; +0x54, 0x18000eed4\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x56, 0x18000eed6\nadd     rsp, 20h                                                       ; +0x5b, 0x18000eedb\npop     rdi                                                            ; +0x5f, 0x18000eedf\nretn                                                                   ; +0x60, 0x18000eee0", "xrefs": ["<???> @ 0x18016c860", "<???> @ 0x18016cad8", "<???> @ 0x1801f6d08"], "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"}