{"type": "func", "start": 6442875248, "end": 6442875372, "name": "sub_180067970", "pseudocode": "// \n// sub_180067970 from 0x180067970 to 0x1800679ec (124 bytes)\n// \n// 4 xrefs:\n// > sub_180066D40 @ 0x180066e7c\n// > sub_180067510 @ 0x18006755d\n// > sub_180067510 @ 0x180067637\n// > <???> @ 0x1801f9414\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:26 +0000\n// \n\nfloat __fastcall sub_180067970(float *a1)\n{\n  float v1; // xmm1_4\n  float v4; // xmm2_4\n\n  v1 = a1[138];\n  if ( v1 >= 1.0 )\n    return -1.0;\n  if ( v1 > 0.0 )\n    v4 = 0.000050000002 / log10f(a1[138]);\n  else\n    v4 = -0.000012500001;\n  return (float)(0.001 - (float)((float)(a1[141] + 100.0) * v4)) * a1[136];\n}", "assembly": "; \n; sub_180067970 from 0x180067970 to 0x1800679ec (124 bytes)\n; \n; 4 xrefs:\n; > sub_180066D40 @ 0x180066e7c\n; > sub_180067510 @ 0x18006755d\n; > sub_180067510 @ 0x180067637\n; > <???> @ 0x1801f9414\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:26 +0000\n; \npush    rbx                                                            ; +0x0, 0x180067970\nsub     rsp, 20h                                                       ; +0x2, 0x180067972\nmovss   xmm1, dword ptr [rcx+228h]                                     ; +0x6, 0x180067976\nmov     rbx, rcx                                                       ; +0xe, 0x18006797e\ncomiss  xmm1, cs:dword_180145744                                       ; +0x11, 0x180067981\njb      short loc_180067998                                            ; +0x18, 0x180067988\nmovss   xmm0, cs:X                                                     ; +0x1a, 0x18006798a\nadd     rsp, 20h                                                       ; +0x22, 0x180067992\npop     rbx                                                            ; +0x26, 0x180067996\nretn                                                                   ; +0x27, 0x180067997\nxorps   xmm0, xmm0                                                     ; +0x28, 0x180067998\ncomiss  xmm1, xmm0                                                     ; +0x2b, 0x18006799b\nja      short loc_1800679AA                                            ; +0x2e, 0x18006799e\nmovss   xmm2, cs:dword_180167D88                                       ; +0x30, 0x1800679a0\njmp     short loc_1800679BE                                            ; +0x38, 0x1800679a8\nmovaps  xmm0, xmm1; X                                                  ; +0x3a, 0x1800679aa\ncall    log10f                                                         ; +0x3d, 0x1800679ad\nmovss   xmm2, cs:dword_180167D80                                       ; +0x42, 0x1800679b2\ndivss   xmm2, xmm0                                                     ; +0x4a, 0x1800679ba\nmovss   xmm1, dword ptr [rbx+234h]                                     ; +0x4e, 0x1800679be\naddss   xmm1, cs:dword_180164634                                       ; +0x56, 0x1800679c6\nmovss   xmm0, cs:dword_1801457E4                                       ; +0x5e, 0x1800679ce\nmulss   xmm1, xmm2                                                     ; +0x66, 0x1800679d6\nsubss   xmm0, xmm1                                                     ; +0x6a, 0x1800679da\nmulss   xmm0, dword ptr [rbx+220h]                                     ; +0x6e, 0x1800679de\nadd     rsp, 20h                                                       ; +0x76, 0x1800679e6\npop     rbx                                                            ; +0x7a, 0x1800679ea\nretn                                                                   ; +0x7b, 0x1800679eb", "xrefs": ["sub_180066D40 @ 0x180066e7c", "sub_180067510 @ 0x18006755d", "sub_180067510 @ 0x180067637", "<???> @ 0x1801f9414"], "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"}