//
// sub_10053CEA8 from 0x10053cea8 to 0x10053cf74 (204 bytes)
//
// 3 xrefs:
// > sub_100542A8C @ 0x100543114
// > sub_100542A8C @ 0x1005431f0
// > sub_100542A8C @ 0x1005432f0
//
// 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:07:40 +0000
//
_QWORD *__usercall sub_10053CEA8@(unsigned int a1@, _QWORD *a2@)
{
void *v3; // x0
char *CString; // x1
if ( (a1 & 0x80000000) != 0 )
{
CString = "perm";
}
else if ( a1 )
{
if ( a1 >> 7 < 0x2A3 )
{
if ( a1 < 0xE10 )
v3 = sub_1003065B0("%im");
else
v3 = sub_1003065B0("%ih");
}
else
{
v3 = sub_1003065B0("%id");
}
CString = (char *)cocos2d::CCString::getCString((__int64)v3);
}
else
{
CString = "";
}
return sub_100009900(a2, CString);
}