{"type": "func", "start": 6442517408, "end": 6442517546, "name": "sub_1800103A0", "pseudocode": "// \n// sub_1800103A0 from 0x1800103a0 to 0x18001042a (138 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x18016c788\n// > <???> @ 0x18016ca00\n// > <???> @ 0x1801f6e1c\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_1800103A0(__int64 a1, __int64 a2, float a3)\n{\n  __int64 result; // rax\n  __int64 v6; // [rsp+58h] [rbp+20h] BYREF\n\n  if ( (LODWORD(a3) & 0x7F800000) == 0x7F800000 )\n    return 29;\n  result = (*(__int64 (__fastcall **)(__int64, __int64, __int64 *))(*(_QWORD *)a1 + 288LL))(a1, 4294967294LL, &v6);\n  if ( !(_DWORD)result )\n  {\n    result = sub_180069780(v6, a2);\n    if ( !(_DWORD)result )\n      return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 520LL))(a1);\n  }\n  return result;\n}", "assembly": "; \n; sub_1800103A0 from 0x1800103a0 to 0x18001042a (138 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x18016c788\n; > <???> @ 0x18016ca00\n; > <???> @ 0x1801f6e1c\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_0], rbx                                               ; +0x0, 0x1800103a0\npush    rdi                                                            ; +0x5, 0x1800103a5\nsub     rsp, 30h                                                       ; +0x6, 0x1800103a6\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0xa, 0x1800103aa\nmov     rdi, rdx                                                       ; +0xf, 0x1800103af\nmovaps  xmm6, xmm2                                                     ; +0x12, 0x1800103b2\nmov     rbx, rcx                                                       ; +0x15, 0x1800103b5\nmovss   [rsp+38h+arg_10], xmm6                                         ; +0x18, 0x1800103b8\nmov     eax, [rsp+38h+arg_10]                                          ; +0x1e, 0x1800103be\nand     eax, 7F800000h                                                 ; +0x22, 0x1800103c2\ncmp     eax, 7F800000h                                                 ; +0x27, 0x1800103c7\njnz     short loc_1800103E3                                            ; +0x2c, 0x1800103cc\nmov     eax, 1Dh                                                       ; +0x2e, 0x1800103ce\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x33, 0x1800103d3\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x38, 0x1800103d8\nadd     rsp, 30h                                                       ; +0x3d, 0x1800103dd\npop     rdi                                                            ; +0x41, 0x1800103e1\nretn                                                                   ; +0x42, 0x1800103e2\nmov     rax, [rcx]                                                     ; +0x43, 0x1800103e3\nlea     r8, [rsp+38h+arg_18]                                           ; +0x46, 0x1800103e6\nmov     edx, 0FFFFFFFEh                                                ; +0x4b, 0x1800103eb\ncall    qword ptr [rax+120h]                                           ; +0x50, 0x1800103f0\ntest    eax, eax                                                       ; +0x56, 0x1800103f6\njnz     short loc_18001041A                                            ; +0x58, 0x1800103f8\nmov     rcx, [rsp+38h+arg_18]                                          ; +0x5a, 0x1800103fa\nmovaps  xmm2, xmm6                                                     ; +0x5f, 0x1800103ff\nmov     rdx, rdi                                                       ; +0x62, 0x180010402\ncall    sub_180069780                                                  ; +0x65, 0x180010405\ntest    eax, eax                                                       ; +0x6a, 0x18001040a\njnz     short loc_18001041A                                            ; +0x6c, 0x18001040c\nmov     rax, [rbx]                                                     ; +0x6e, 0x18001040e\nmov     rcx, rbx                                                       ; +0x71, 0x180010411\ncall    qword ptr [rax+208h]                                           ; +0x74, 0x180010414\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x7a, 0x18001041a\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x7f, 0x18001041f\nadd     rsp, 30h                                                       ; +0x84, 0x180010424\npop     rdi                                                            ; +0x88, 0x180010428\nretn                                                                   ; +0x89, 0x180010429", "xrefs": ["<???> @ 0x18016c788", "<???> @ 0x18016ca00", "<???> @ 0x1801f6e1c"], "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"}