//
// sub_62ACFC from 0x62acfc to 0x62ad66 (106 bytes)
//
// 1 xrefs:
// > cocos2d::extension::CCHttpClient::CCHttpClient @ 0x5ac3ae
//
// 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 __fastcall sub_62ACFC(int a1)
{
if ( dword_ACAEB8++ )
return 0;
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 ( (a1 & 1) != 0 && !sub_645424() )
return 2;
sub_632624();
if ( (a1 & 4) != 0 )
dword_ACAEC0 = 1;
dword_ACAEBC = a1;
sub_623B60();
return 0;
}