//
// sub_9FCFC from 0x9fcfc to 0x9fd9e (162 bytes)
//
// 0 xrefs:
//
// 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:32 +0000
//
__int64 __fastcall sub_9FCFC(int a1, int a2, int a3, unsigned int *a4, int *a5)
{
char v7; // r8
int v8; // r0
char *v9; // r2
int v10; // r1
int v11; // r2
float v12; // s6
float *v13; // r3
__int64 v15; // [sp+0h] [bp-28h]
int v16; // [sp+Ch] [bp-1Ch] BYREF
v16 = a1;
v7 = a2;
if ( a2 >> 3 )
j_FMOD_Resampler_Linear_8Bit_Mono_VFP((int)&v16, a2 >> 3, a3, (int)a4, *a5, a5[1], 0.0078125);
v8 = v7 & 7;
while ( v8 )
{
--v8;
v9 = (char *)(a3 + a4[1]);
v10 = *v9;
v11 = v9[1];
v12 = (float)*a4;
v13 = (float *)v16;
v16 += 4;
*v13 = (float)((float)((float)(1.0 - (float)(v12 * 2.3283e-10)) * (float)v10)
+ (float)((float)(v12 * 2.3283e-10) * (float)v11))
* 0.0078125;
*(_QWORD *)a4 += *(_QWORD *)a5;
}
return v15;
}