//
// sub_1004AA644 from 0x1004aa644 to 0x1004aa6d8 (148 bytes)
//
// 2 xrefs:
// > sub_1004AA4A0 @ 0x1004aa500
// > sub_1004AA4A0 @ 0x1004aa5a4
//
// 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:07 +0000
//
_QWORD *__usercall sub_1004AA644@(unsigned __int64 a1@, _QWORD *a2@)
{
void *v3; // x0
char *CString; // x1
if ( a1 > 0x3FF )
{
if ( a1 >> 20 )
v3 = sub_1003065B0("%.2f MB");
else
v3 = sub_1003065B0("%.1f KB");
}
else
{
v3 = sub_1003065B0("%zu B");
}
CString = (char *)cocos2d::CCString::getCString((__int64)v3);
return sub_100009900(a2, CString);
}