{"type": "func", "start": 6443301376, "end": 6443301472, "name": "sub_1800CFA00", "pseudocode": "// \n// sub_1800CFA00 from 0x1800cfa00 to 0x1800cfa60 (96 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18016c950\n// > <???> @ 0x1801fe9b8\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_1800CFA00(float *a1, float a2)\n{\n  __int64 result; // rax\n  __int64 v4; // r9\n  __int64 v5; // [rsp+50h] [rbp+18h] BYREF\n\n  result = sub_180010720((__int64)a1, a2);\n  if ( !(_DWORD)result )\n  {\n    result = (*(__int64 (__fastcall **)(float *, _QWORD, __int64 *))(*(_QWORD *)a1 + 288LL))(a1, 0, &v5);\n    if ( !(_DWORD)result )\n    {\n      result = sub_18009C1B0(v5, a2, 1, v4);\n      if ( !(_DWORD)result )\n        return sub_1800CEE10((__int64)a1, a1[139]);\n    }\n  }\n  return result;\n}", "assembly": "; \n; sub_1800CFA00 from 0x1800cfa00 to 0x1800cfa60 (96 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18016c950\n; > <???> @ 0x1801fe9b8\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\npush    rbx                                                            ; +0x0, 0x1800cfa00\nsub     rsp, 30h                                                       ; +0x2, 0x1800cfa02\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0x6, 0x1800cfa06\nmov     rbx, rcx                                                       ; +0xb, 0x1800cfa0b\nmovaps  xmm6, xmm1                                                     ; +0xe, 0x1800cfa0e\ncall    sub_180010720                                                  ; +0x11, 0x1800cfa11\ntest    eax, eax                                                       ; +0x16, 0x1800cfa16\njnz     short loc_1800CFA55                                            ; +0x18, 0x1800cfa18\nmov     rax, [rbx]                                                     ; +0x1a, 0x1800cfa1a\nlea     r8, [rsp+38h+arg_10]                                           ; +0x1d, 0x1800cfa1d\nxor     edx, edx                                                       ; +0x22, 0x1800cfa22\nmov     rcx, rbx                                                       ; +0x24, 0x1800cfa24\ncall    qword ptr [rax+120h]                                           ; +0x27, 0x1800cfa27\ntest    eax, eax                                                       ; +0x2d, 0x1800cfa2d\njnz     short loc_1800CFA55                                            ; +0x2f, 0x1800cfa2f\nmov     rcx, [rsp+38h+arg_10]                                          ; +0x31, 0x1800cfa31\nmov     r8b, 1                                                         ; +0x36, 0x1800cfa36\nmovaps  xmm1, xmm6                                                     ; +0x39, 0x1800cfa39\ncall    sub_18009C1B0                                                  ; +0x3c, 0x1800cfa3c\ntest    eax, eax                                                       ; +0x41, 0x1800cfa41\njnz     short loc_1800CFA55                                            ; +0x43, 0x1800cfa43\nmovss   xmm1, dword ptr [rbx+22Ch]                                     ; +0x45, 0x1800cfa45\nmov     rcx, rbx                                                       ; +0x4d, 0x1800cfa4d\ncall    sub_1800CEE10                                                  ; +0x50, 0x1800cfa50\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x55, 0x1800cfa55\nadd     rsp, 30h                                                       ; +0x5a, 0x1800cfa5a\npop     rbx                                                            ; +0x5e, 0x1800cfa5e\nretn                                                                   ; +0x5f, 0x1800cfa5f", "xrefs": ["<???> @ 0x18016c950", "<???> @ 0x1801fe9b8"], "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"}