{"type": "func", "start": 607088, "end": 607200, "name": "sub_94370", "pseudocode": "// \n// sub_94370 from 0x94370 to 0x943e0 (112 bytes)\n// \n// 2 xrefs:\n// > sub_94310 @ 0x9434e\n// > sub_943F8 @ 0x9442e\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:41:27 +0000\n// \n\nint __fastcall sub_94370(int a1, float a2)\n{\n  float v2; // s2\n  float v3; // s0\n\n  v2 = (float)*(int *)(*(_DWORD *)(a1 + 128) + 1184);\n  if ( a2 >= 22000.0 )\n  {\n    v3 = 0.0;\n  }\n  else if ( (float)(v2 * 0.31831) >= a2 )\n  {\n    v3 = (float)(0.15915 / a2) / (float)((float)(1.0 / v2) + (float)(0.15915 / a2));\n  }\n  else\n  {\n    v3 = (float)(22000.0 - a2) / (float)((float)(v2 * -0.95493) + 66000.0);\n  }\n  *(float *)(a1 + 636) = v3;\n  return 0;\n}", "assembly": "; \n; sub_94370 from 0x94370 to 0x943e0 (112 bytes)\n; \n; 2 xrefs:\n; > sub_94310 @ 0x9434e\n; > sub_943F8 @ 0x9442e\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:41:27 +0000\n; \nLDR.W           R2, [R0,#0x80]                                         ; +0x0, 0x94370\nVLDR            S4, =22000.0                                           ; +0x4, 0x94374\nADD.W           R2, R2, #0x4A0                                         ; +0x8, 0x94378\nVLDR            S0, [R2]                                               ; +0xc, 0x9437c\nVCVT.F32.S32    S2, S0                                                 ; +0x10, 0x94380\nVMOV            S0, R1                                                 ; +0x14, 0x94384\nVCMPE.F32       S0, S4                                                 ; +0x18, 0x94388\nVMRS            APSR_nzcv, FPSCR                                       ; +0x1c, 0x9438c\nBGE             loc_943BA                                              ; +0x20, 0x94390\nVLDR            S6, =0.31831                                           ; +0x22, 0x94392\nVMUL.F32        S6, S2, S6                                             ; +0x26, 0x94396\nVCMPE.F32       S6, S0                                                 ; +0x2a, 0x9439a\nVMRS            APSR_nzcv, FPSCR                                       ; +0x2e, 0x9439e\nBGE             loc_943C0                                              ; +0x32, 0x943a2\nVLDR            S6, =-0.95493                                          ; +0x34, 0x943a4\nVSUB.F32        S0, S4, S0                                             ; +0x38, 0x943a8\nVLDR            S8, =66000.0                                           ; +0x3c, 0x943ac\nVMLA.F32        S8, S2, S6                                             ; +0x40, 0x943b0\nVDIV.F32        S0, S0, S8                                             ; +0x44, 0x943b4\nB               loc_943D8                                              ; +0x48, 0x943b8\nVLDR            S0, =0.0                                               ; +0x4a, 0x943ba\nB               loc_943D8                                              ; +0x4e, 0x943be\nVMOV.F32        S4, #1.0                                               ; +0x50, 0x943c0\nVDIV.F32        S2, S4, S2                                             ; +0x54, 0x943c4\nVLDR            S4, =0.15915                                           ; +0x58, 0x943c8\nVDIV.F32        S0, S4, S0                                             ; +0x5c, 0x943cc\nVADD.F32        S2, S2, S0                                             ; +0x60, 0x943d0\nVDIV.F32        S0, S0, S2                                             ; +0x64, 0x943d4\nVSTR            S0, [R0,#0x27C]                                        ; +0x68, 0x943d8\nMOVS            R0, #0                                                 ; +0x6c, 0x943dc\nBX              LR                                                     ; +0x6e, 0x943de", "xrefs": ["sub_94310 @ 0x9434e", "sub_943F8 @ 0x9442e"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "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"}