//
// sub_92284 from 0x92284 to 0x92300 (124 bytes)
//
// 1 xrefs:
// > sub_923F0 @ 0x923f2
//
// 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_92284(int a1, int a2, _DWORD *a3, _DWORD *a4, _BYTE *a5)
{
int v5; // r4
float v7; // s16
float v10; // r0
float v11; // s4
if ( a2 != 1 )
return 31;
v5 = 0;
*(_DWORD *)(a1 + 516) = 0;
v7 = *(float *)(a1 + 392);
v10 = powf(10.0, v7 * 0.05);
v11 = 0.0;
if ( v7 > -80.0 )
v11 = v10;
*(float *)(a1 + 512) = v11;
*a3 = a1 + 512;
*a4 = 8;
if ( a5 )
*a5 = 0;
return v5;
}