{"type": "func", "start": 6442960960, "end": 6442961008, "name": "sub_18007C840", "pseudocode": "// \n// sub_18007C840 from 0x18007c840 to 0x18007c870 (48 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801671d0\n// > <???> @ 0x180168ee8\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:53:35 +0000\n// \n\nfloat __fastcall sub_18007C840(__int64 a1)\n{\n  float v1; // xmm0_4\n\n  v1 = (float)((float)*(int *)(a1 + 44) * 0.00000095367432) * *(float *)(a1 + 732);\n  if ( v1 >= 0.0 )\n    return fminf(v1, 1000000.0);\n  else\n    return 0.0;\n}", "assembly": "; \n; sub_18007C840 from 0x18007c840 to 0x18007c870 (48 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801671d0\n; > <???> @ 0x180168ee8\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:53:35 +0000\n; \nmov     eax, [rcx+2Ch]                                                 ; +0x0, 0x18007c840\nxorps   xmm0, xmm0                                                     ; +0x3, 0x18007c843\nxorps   xmm1, xmm1                                                     ; +0x6, 0x18007c846\ncvtsi2ss xmm0, rax                                                     ; +0x9, 0x18007c849\nmulss   xmm0, cs:dword_180168F3C                                       ; +0xe, 0x18007c84e\nmulss   xmm0, dword ptr [rcx+2DCh]                                     ; +0x16, 0x18007c856\ncomiss  xmm0, xmm1                                                     ; +0x1e, 0x18007c85e\njnb     short loc_18007C867                                            ; +0x21, 0x18007c861\nxorps   xmm0, xmm0                                                     ; +0x23, 0x18007c863\nretn                                                                   ; +0x26, 0x18007c866\nminss   xmm0, cs:dword_180168F40                                       ; +0x27, 0x18007c867\nretn                                                                   ; +0x2f, 0x18007c86f", "xrefs": ["<???> @ 0x1801671d0", "<???> @ 0x180168ee8"], "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"}