//
// sub_70C3C from 0x70c3c to 0x70cb8 (124 bytes)
//
// 1 xrefs:
// > sub_70DB0 @ 0x70dbc
//
// 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 12:13:59 +0000
//
__int64 __fastcall sub_70C3C(float *a1, int a2, float *a3, __int64 a4)
{
float v4; // s0
switch ( a2 )
{
case 2:
*a3 = sqrtf(a1[140]);
if ( a4 )
{
v4 = a1[140];
goto LABEL_10;
}
break;
case 1:
*a3 = a1[143];
if ( a4 )
{
v4 = a1[143];
goto LABEL_10;
}
break;
case 0:
*a3 = a1[142];
if ( a4 )
{
v4 = a1[142];
LABEL_10:
sub_E3FC8(a4, 32, "%.02f", v4);
}
break;
}
return 0;
}