//
// sub_9BB9C from 0x9bb9c to 0x9bba2 (6 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:30 +0000
//
int __fastcall sub_9BB9C(int *a1, int a2, float a3)
{
float v3; // s0
float v4; // s2
int v6; // r0
v6 = *a1;
v3 = a3;
switch ( a2 )
{
case 2:
*(float *)(v6 + 936) = a3;
break;
case 1:
*(float *)(v6 + 932) = a3;
break;
case 0:
v4 = (float)*(int *)(*(_DWORD *)(v6 + 128) + 1184);
if ( (float)((float)(v4 * 0.5) + -100.0) <= a3 )
v3 = (float)(v4 * 0.5) + -100.0;
*(float *)(v6 + 928) = v3;
break;
}
return 0;
}