// // sub_90228 from 0x90228 to 0x9029e (118 bytes) // // 3 xrefs: // > sub_90134 @ 0x90202 // > @ 0x9076c // > @ 0x90828 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // int __fastcall sub_90228(float *a1) { float v1; // s18 float v3; // r0 float v4; // s2 float v5; // s0 v1 = a1[96]; if ( v1 >= 1.0 ) { v5 = -1.0; } else { v3 = log10f(a1[96]); v4 = -80.0; if ( v1 > 0.0 ) v4 = v3 * 20.0; v5 = (float)(a1[94] * 0.001) * (float)((float)((float)(-100.0 - a1[99]) / v4) + 1.0); } return LODWORD(v5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source