//
// sub_10053CD9C from 0x10053cd9c to 0x10053cea8 (268 bytes)
//
// 1 xrefs:
// > sub_10053EAF0 @ 0x10053eb34
//
// 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_10053CD9C@(unsigned int a1@, _QWORD *a2@)
{
void *v3; // x0
char *CString; // x1
if ( (a1 & 0x80000000) != 0 )
{
CString = "Permanent";
}
else if ( a1 )
{
if ( a1 >> 7 >= 0x2A3 )
{
v3 = sub_1003065B0("%i day%s left");
}
else if ( a1 >= 0xE10 )
{
v3 = sub_1003065B0("%i hour%s left");
}
else
{
v3 = sub_1003065B0("%i min left");
}
CString = (char *)cocos2d::CCString::getCString((__int64)v3);
}
else
{
CString = "";
}
return sub_100009900(a2, CString);
}