{"type": "func", "start": 6443302096, "end": 6443302292, "name": "sub_1800CFCD0", "pseudocode": "// \n// sub_1800CFCD0 from 0x1800cfcd0 to 0x1800cfd94 (196 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x18016c928\n// > <???> @ 0x18018b8ec\n// > <???> @ 0x18018b8fc\n// > <???> @ 0x1801fe9dc\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:54:09 +0000\n// \n\n__int64 __fastcall sub_1800CFCD0(__int64 a1, float a2, char a3)\n{\n  __int64 result; // rax\n  __int64 v6; // rcx\n  bool v7; // di\n\n  if ( (LODWORD(a2) & 0x7F800000) == 0x7F800000 )\n    return 29;\n  v6 = *(_QWORD *)(a1 + 472);\n  if ( !v6 || !*(_QWORD *)(a1 + 112) )\n    return 30;\n  v7 = a2 != *(float *)(a1 + 48);\n  *(float *)(a1 + 48) = a2;\n  result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 96LL))(v6);\n  if ( !(_DWORD)result )\n  {\n    if ( !v7 && !a3 )\n      return 0;\n    if ( (*(_DWORD *)(*(_QWORD *)(a1 + 472) + 60LL) & 0x10000) != 0 )\n      return 0;\n    result = sub_180012140((__int64 *)a1, 0, 0, a3);\n    if ( !(_DWORD)result )\n      return 0;\n  }\n  return result;\n}", "assembly": "; \n; sub_1800CFCD0 from 0x1800cfcd0 to 0x1800cfd94 (196 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x18016c928\n; > <???> @ 0x18018b8ec\n; > <???> @ 0x18018b8fc\n; > <???> @ 0x1801fe9dc\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:54:09 +0000\n; \nmov     [rsp+arg_10], rbx                                              ; +0x0, 0x1800cfcd0\npush    rsi                                                            ; +0x5, 0x1800cfcd5\nsub     rsp, 20h                                                       ; +0x6, 0x1800cfcd6\nmovss   [rsp+28h+arg_8], xmm1                                          ; +0xa, 0x1800cfcda\nmovzx   esi, r8b                                                       ; +0x10, 0x1800cfce0\nmov     eax, [rsp+28h+arg_8]                                           ; +0x14, 0x1800cfce4\nmov     rbx, rcx                                                       ; +0x18, 0x1800cfce8\nand     eax, 7F800000h                                                 ; +0x1b, 0x1800cfceb\ncmp     eax, 7F800000h                                                 ; +0x20, 0x1800cfcf0\njnz     short loc_1800CFD07                                            ; +0x25, 0x1800cfcf5\nmov     eax, 1Dh                                                       ; +0x27, 0x1800cfcf7\nmov     rbx, [rsp+28h+arg_10]                                          ; +0x2c, 0x1800cfcfc\nadd     rsp, 20h                                                       ; +0x31, 0x1800cfd01\npop     rsi                                                            ; +0x35, 0x1800cfd05\nretn                                                                   ; +0x36, 0x1800cfd06\nmov     rcx, [rcx+1D8h]                                                ; +0x37, 0x1800cfd07\ntest    rcx, rcx                                                       ; +0x3e, 0x1800cfd0e\njz      short loc_1800CFD84                                            ; +0x41, 0x1800cfd11\ncmp     qword ptr [rbx+70h], 0                                         ; +0x43, 0x1800cfd13\njz      short loc_1800CFD84                                            ; +0x48, 0x1800cfd18\nmov     [rsp+28h+arg_0], rdi                                           ; +0x4a, 0x1800cfd1a\nxor     dil, dil                                                       ; +0x4f, 0x1800cfd1f\nucomiss xmm1, dword ptr [rbx+30h]                                      ; +0x52, 0x1800cfd22\njz      short loc_1800CFD2B                                            ; +0x56, 0x1800cfd26\nmov     dil, 1                                                         ; +0x58, 0x1800cfd28\ntest    byte ptr [rbx+48h], 2                                          ; +0x5b, 0x1800cfd2b\nmovss   dword ptr [rbx+30h], xmm1                                      ; +0x5f, 0x1800cfd2f\njz      short loc_1800CFD39                                            ; +0x64, 0x1800cfd34\nxorps   xmm1, xmm1                                                     ; +0x66, 0x1800cfd36\nmov     rax, [rcx]                                                     ; +0x69, 0x1800cfd39\ncall    qword ptr [rax+60h]                                            ; +0x6c, 0x1800cfd3c\ntest    eax, eax                                                       ; +0x6f, 0x1800cfd3f\njnz     short loc_1800CFD74                                            ; +0x71, 0x1800cfd41\ntest    dil, dil                                                       ; +0x73, 0x1800cfd43\njnz     short loc_1800CFD4D                                            ; +0x76, 0x1800cfd46\ntest    sil, sil                                                       ; +0x78, 0x1800cfd48\njz      short loc_1800CFD72                                            ; +0x7b, 0x1800cfd4b\nmov     rax, [rbx+1D8h]                                                ; +0x7d, 0x1800cfd4d\ntest    dword ptr [rax+3Ch], 10000h                                    ; +0x84, 0x1800cfd54\njnz     short loc_1800CFD72                                            ; +0x8b, 0x1800cfd5b\nmovzx   r9d, sil                                                       ; +0x8d, 0x1800cfd5d\nxor     r8d, r8d                                                       ; +0x91, 0x1800cfd61\nxor     edx, edx                                                       ; +0x94, 0x1800cfd64\nmov     rcx, rbx                                                       ; +0x96, 0x1800cfd66\ncall    sub_180012140                                                  ; +0x99, 0x1800cfd69\ntest    eax, eax                                                       ; +0x9e, 0x1800cfd6e\njnz     short loc_1800CFD74                                            ; +0xa0, 0x1800cfd70\nxor     eax, eax                                                       ; +0xa2, 0x1800cfd72\nmov     rdi, [rsp+28h+arg_0]                                           ; +0xa4, 0x1800cfd74\nmov     rbx, [rsp+28h+arg_10]                                          ; +0xa9, 0x1800cfd79\nadd     rsp, 20h                                                       ; +0xae, 0x1800cfd7e\npop     rsi                                                            ; +0xb2, 0x1800cfd82\nretn                                                                   ; +0xb3, 0x1800cfd83\nmov     rbx, [rsp+28h+arg_10]                                          ; +0xb4, 0x1800cfd84\nmov     eax, 1Eh                                                       ; +0xb9, 0x1800cfd89\nadd     rsp, 20h                                                       ; +0xbe, 0x1800cfd8e\npop     rsi                                                            ; +0xc2, 0x1800cfd92\nretn                                                                   ; +0xc3, 0x1800cfd93", "xrefs": ["<???> @ 0x18016c928", "<???> @ 0x18018b8ec", "<???> @ 0x18018b8fc", "<???> @ 0x1801fe9dc"], "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"}