//
// sub_B7958 from 0xb7958 to 0xb79b4 (92 bytes)
//
// 1 xrefs:
// > sub_B7A18 @ 0xb7a24
//
// 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:14:39 +0000
//
__int64 __fastcall sub_B7958(__int64 a1, int a2, _DWORD *a3, __int64 a4)
{
float v4; // s0
if ( a2 == 1 )
{
*a3 = *(_DWORD *)(a1 + 820);
if ( a4 )
{
v4 = *(float *)(a1 + 820);
goto LABEL_7;
}
}
else if ( !a2 )
{
*a3 = *(_DWORD *)(a1 + 824);
if ( a4 )
{
v4 = *(float *)(a1 + 824);
LABEL_7:
sub_E3FC8(a4, 32, "%.02f", v4);
}
}
return 0;
}