//
// sub_1004F38C0 from 0x1004f38c0 to 0x1004f3980 (192 bytes)
//
// 2 xrefs:
// > LevelStatsInfoPopup::buildInfoText @ 0x1004f3104
// > LevelStatsInfoPopup::buildInfoText @ 0x1004f31d0
//
// 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 11:06:46 +0000
//
_QWORD *__usercall sub_1004F38C0@(unsigned int a1@, _QWORD *a2@)
{
void *v3; // x0
char *CString; // x1
if ( (int)a1 <= 0 )
{
CString = "NA";
}
else
{
if ( a1 >= 0xE10 )
{
v3 = sub_1003065B0("%ih %im %is");
}
else if ( a1 / 0x3C == 60 * ((unsigned int)((143165577 * (unsigned __int64)(a1 / 0x3C)) >> 32) >> 1) )
{
v3 = sub_1003065B0("%is");
}
else
{
v3 = sub_1003065B0("%im %is");
}
CString = (char *)cocos2d::CCString::getCString((__int64)v3);
}
return sub_100009900(a2, CString);
}