{"type": "func", "start": 6442511584, "end": 6442511680, "name": "sub_18000ECE0", "pseudocode": "// \n// sub_18000ECE0 from 0x18000ece0 to 0x18000ed40 (96 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x18016c808\n// > <???> @ 0x18016ca80\n// > <???> @ 0x1801f6ce4\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_18000ECE0(__int64 a1, __int64 a2)\n{\n  __int64 result; // rax\n  char v5; // [rsp+30h] [rbp+8h] BYREF\n\n  result = (*(__int64 (__fastcall **)(__int64, char *))(*(_QWORD *)a1 + 152LL))(a1, &v5);\n  if ( !(_DWORD)result )\n  {\n    if ( (v5 & 0x10) != 0 )\n    {\n      if ( a2 )\n      {\n        *(_QWORD *)a2 = *(_QWORD *)(a1 + 180);\n        *(_DWORD *)(a2 + 8) = *(_DWORD *)(a1 + 188);\n      }\n      return 0;\n    }\n    else\n    {\n      return 40;\n    }\n  }\n  return result;\n}", "assembly": "; \n; sub_18000ECE0 from 0x18000ece0 to 0x18000ed40 (96 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x18016c808\n; > <???> @ 0x18016ca80\n; > <???> @ 0x1801f6ce4\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, 0x18000ece0\npush    rdi                                                            ; +0x5, 0x18000ece5\nsub     rsp, 20h                                                       ; +0x6, 0x18000ece6\nmov     rax, [rcx]                                                     ; +0xa, 0x18000ecea\nmov     rbx, rdx                                                       ; +0xd, 0x18000eced\nlea     rdx, [rsp+28h+arg_0]                                           ; +0x10, 0x18000ecf0\nmov     rdi, rcx                                                       ; +0x15, 0x18000ecf5\ncall    qword ptr [rax+98h]                                            ; +0x18, 0x18000ecf8\ntest    eax, eax                                                       ; +0x1e, 0x18000ecfe\njnz     short loc_18000ED35                                            ; +0x20, 0x18000ed00\ntest    [rsp+28h+arg_0], 10h                                           ; +0x22, 0x18000ed02\njnz     short loc_18000ED19                                            ; +0x27, 0x18000ed07\nmov     eax, 28h ; '('                                                 ; +0x29, 0x18000ed09\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x2e, 0x18000ed0e\nadd     rsp, 20h                                                       ; +0x33, 0x18000ed13\npop     rdi                                                            ; +0x37, 0x18000ed17\nretn                                                                   ; +0x38, 0x18000ed18\ntest    rbx, rbx                                                       ; +0x39, 0x18000ed19\njz      short loc_18000ED33                                            ; +0x3c, 0x18000ed1c\nmovsd   xmm0, qword ptr [rdi+0B4h]                                     ; +0x3e, 0x18000ed1e\nmovsd   qword ptr [rbx], xmm0                                          ; +0x46, 0x18000ed26\nmov     eax, [rdi+0BCh]                                                ; +0x4a, 0x18000ed2a\nmov     [rbx+8], eax                                                   ; +0x50, 0x18000ed30\nxor     eax, eax                                                       ; +0x53, 0x18000ed33\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x55, 0x18000ed35\nadd     rsp, 20h                                                       ; +0x5a, 0x18000ed3a\npop     rdi                                                            ; +0x5e, 0x18000ed3e\nretn                                                                   ; +0x5f, 0x18000ed3f", "xrefs": ["<???> @ 0x18016c808", "<???> @ 0x18016ca80", "<???> @ 0x1801f6ce4"], "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"}