//
// sub_B94940 from 0xb94940 to 0xb94a04 (196 bytes)
//
// 1 xrefs:
// > cocos2d::extension::CCHttpClient::CCHttpClient @ 0xaac65c
//
// 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
//
__int64 __fastcall sub_B94940(__int64 a1)
{
if ( dword_1247830++ )
return 0;
off_1231000 = (void *(*)(size_t))&malloc;
off_1231008 = (void (*)(void *))&free;
off_1231010 = (void *(*)(void *, size_t))&realloc;
off_1231018 = (char *(*)(const char *))&strdup;
off_1231020 = (void *(*)(size_t, size_t))&calloc;
if ( (a1 & 1) == 0 || (unsigned int)sub_BB9E70() )
{
sub_B9F534();
if ( (a1 & 4) != 0 )
dword_1247840 = 1;
qword_1247838 = a1;
sub_B8B28C();
return 0;
}
return 2;
}