{"type": "func", "start": 6443299088, "end": 6443299177, "name": "sub_1800CF110", "pseudocode": "// \n// sub_1800CF110 from 0x1800cf110 to 0x1800cf169 (89 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x18016c988\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:08 +0000\n// \n\n__int64 __fastcall sub_1800CF110(__int64 a1, float a2)\n{\n  __int64 v2; // rdx\n\n  v2 = *(_QWORD *)(a1 + 472);\n  if ( !v2 || !*(_QWORD *)(a1 + 32) )\n    return 30;\n  if ( (LODWORD(a2) & 0x7F800000) == 0x7F800000 )\n    return 29;\n  *(float *)(a1 + 544) = fminf(fmaxf(a2, 0.0), 1.0);\n  return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 160LL))(v2);\n}", "assembly": "; \n; sub_1800CF110 from 0x1800cf110 to 0x1800cf169 (89 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x18016c988\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:08 +0000\n; \nmov     rdx, [rcx+1D8h]                                                ; +0x0, 0x1800cf110\ntest    rdx, rdx                                                       ; +0x7, 0x1800cf117\njz      short loc_1800CF163                                            ; +0xa, 0x1800cf11a\ncmp     qword ptr [rcx+20h], 0                                         ; +0xc, 0x1800cf11c\njz      short loc_1800CF163                                            ; +0x11, 0x1800cf121\nmovss   [rsp+arg_0], xmm1                                              ; +0x13, 0x1800cf123\nmov     eax, [rsp+arg_0]                                               ; +0x19, 0x1800cf129\nand     eax, 7F800000h                                                 ; +0x1d, 0x1800cf12d\ncmp     eax, 7F800000h                                                 ; +0x22, 0x1800cf132\njnz     short loc_1800CF13F                                            ; +0x27, 0x1800cf137\nmov     eax, 1Dh                                                       ; +0x29, 0x1800cf139\nretn                                                                   ; +0x2e, 0x1800cf13e\nxorps   xmm0, xmm0                                                     ; +0x2f, 0x1800cf13f\nmaxss   xmm1, xmm0                                                     ; +0x32, 0x1800cf142\nminss   xmm1, cs:dword_180145744                                       ; +0x36, 0x1800cf146\nmovss   dword ptr [rcx+220h], xmm1                                     ; +0x3e, 0x1800cf14e\nmov     rcx, rdx                                                       ; +0x46, 0x1800cf156\nmov     rax, [rdx]                                                     ; +0x49, 0x1800cf159\njmp     qword ptr [rax+0A0h]                                           ; +0x4c, 0x1800cf15c\nmov     eax, 1Eh                                                       ; +0x53, 0x1800cf163\nretn                                                                   ; +0x58, 0x1800cf168", "xrefs": ["<???> @ 0x18016c988"], "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"}