// // sub_B4AB0 from 0xb4ab0 to 0xb4ba8 (248 bytes) // // 1 xrefs: // > sub_B4F94 @ 0xb5164 // // 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 // void __fastcall sub_B4AB0(__int64 a1, float a2, float a3) { __int64 v3; // x20 float v7; // s0 __int64 v8; // x8 float v9; // s0 float v10; // s0 __int64 i; // x9 float v12; // s1 float v13; // s0 v3 = *(int *)(a1 + 8); if ( (_DWORD)v3 ) { v7 = powf(10.0, a3 * -0.1); if ( a3 >= 80.0 ) v7 = 0.0; v8 = 0; v9 = (float)(v7 * a2) / (float)(int)v3; while ( v8 < v3 && *(float *)(*(_QWORD *)a1 + 4 * v8) < v9 ) ++v8; v10 = 0.0; for ( i = v8; i < v3; ++i ) { v12 = *(float *)(*(_QWORD *)a1 + 4 * i); v10 = v12 + v10; } v13 = v10 / (float)(v3 - v8); if ( v13 > 0.0 ) log10f(v13); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source