//
// sub_100632864 from 0x100632864 to 0x100632928 (196 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009e0698
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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:10:29 +0000
//
__int64 __fastcall sub_100632864(__int64 *a1, int a2, float a3)
{
__int64 v3; // x19
float v4; // s1
float v5; // s1
v3 = *a1;
switch ( a2 )
{
case 2:
v5 = 0.0;
if ( a3 > -80.0 )
v5 = __exp10f(a3 / 20.0);
*(float *)(v3 + 676) = v5;
goto LABEL_11;
case 1:
v4 = 0.0;
if ( a3 > -80.0 )
v4 = __exp10f(a3 / 20.0);
*(float *)(v3 + 672) = v4;
goto LABEL_11;
case 0:
*(float *)(v3 + 668) = a3;
LABEL_11:
*(float *)(v3 + 680) = (float)(*(float *)(v3 + 668) / 1000.0)
/ (float)((float)(*(float *)(v3 + 668) / 1000.0) + (float)(1.0 / (float)*(int *)(v3 + 664)));
return 0;
}
return 31;
}