//
// sub_62AE54 from 0x62ae54 to 0x62aeb2 (94 bytes)
//
// 3 xrefs:
// > cocos2d::extension::AssetsManager::checkUpdate @ 0x5a0640
// > sub_5AB7E4 @ 0x5ab802
// > sub_62ED10 @ 0x62ed86
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
int sub_62AE54()
{
int v1; // [sp+4h] [bp-4h] BYREF
if ( !dword_ACAEB8 )
{
dword_ACAEB8 = 1;
off_ABAEAC = (void *(*)(size_t))&malloc;
off_ABAEB0 = (void (*)(void *))&free;
off_ABAEB4 = (void *(*)(void *, size_t))&realloc;
off_ABAEB8 = (char *(*)(const char *))&strdup;
off_ABAEBC = (void *(*)(size_t, size_t))&calloc;
if ( !sub_645424() )
return 0;
sub_632624();
dword_ACAEBC = 3;
sub_623B60();
}
if ( sub_61E854(&v1) )
return 0;
return v1;
}