//
// sub_95948 from 0x95948 to 0x959ce (134 bytes)
//
// 3 xrefs:
// > ??> @ 0x95946
// > sub_95F08 @ 0x9609c
// > sub_95F08 @ 0x9611a
//
// 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:28 +0000
//
int __fastcall sub_95948(float a1, int a2, float *a3, float a4)
{
float v6; // s16
float v8; // r0
float v9; // s4
int v10; // r0
float v12; // [sp+4h] [bp-1Ch] BYREF
v6 = a4 + 0.691;
v8 = powf(10.0, (float)(a4 + 0.691) * 0.1);
v9 = 0.0;
if ( v6 > -80.0 )
v9 = v8;
v12 = a1;
if ( v9 <= a1 )
{
*a3 = *a3 + a1;
v10 = sub_96776(a2, &v12);
sub_959E4(a2, v10, &v12);
}
return 0;
}