//
// sub_98C34 from 0x98c34 to 0x98c86 (82 bytes)
//
// 1 xrefs:
// > sub_98D0C @ 0x98d12
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
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;
}