//
// sub_98C34 from 0x98c34 to 0x98c86 (82 bytes)
//
// 1 xrefs:
// > sub_98D0C @ 0x98d12
//
// 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:29 +0000
//
int __fastcall sub_98C34(int a1, int a2, int a3)
{
_DWORD *v3; // r1
float v4; // s0
float v5; // s0
if ( a2 == 2 )
{
v3 = (_DWORD *)(a1 + 396);
}
else if ( a2 == 1 )
{
v3 = (_DWORD *)(a1 + 392);
}
else
{
if ( a2 )
goto LABEL_8;
v3 = (_DWORD *)(a1 + 388);
}
*v3 = a3;
LABEL_8:
v4 = *(float *)(a1 + 388);
if ( v4 == 0.0 )
v5 = 1.0;
else
v5 = 1000.0 / (float)(v4 * (float)*(int *)(a1 + 384));
*(float *)(a1 + 400) = v5;
return 0;
}