// // sub_95488 from 0x95488 to 0x95564 (220 bytes) // // 1 xrefs: // > sub_955EE @ 0x955f0 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:41:27 +0000 // int __fastcall sub_95488(float *a1, int a2, float *a3, int a4) { float v7; // s0 float v8; // s18 float v9; // r0 float v10; // s16 float v11; // s2 float v12; // s0 float v13; // s18 float v14; // r0 float v15; // s2 double v16; // d0 if ( a2 == 2 ) { v8 = a1[129]; v9 = log10f(v8); v10 = 20.0; v11 = -80.0; if ( v8 > 0.0 ) v11 = v9 * 20.0; *a3 = v11; if ( !a4 ) return 0; v12 = a1[129]; LABEL_14: if ( v12 <= 0.0 ) { v16 = -80.0; goto LABEL_19; } v7 = log10f(v12) * v10; LABEL_16: v16 = v7; LABEL_19: sub_BE420(a4, 32, "%.02f", v16); return 0; } if ( a2 == 1 ) { v13 = a1[128]; v14 = log10f(v13); v10 = 20.0; v15 = -80.0; if ( v13 > 0.0 ) v15 = v14 * 20.0; *a3 = v15; if ( !a4 ) return 0; v12 = a1[128]; goto LABEL_14; } if ( a2 ) return 31; *a3 = a1[127]; if ( a4 ) { v7 = a1[127]; goto LABEL_16; } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source