//
// sub_10024092C from 0x10024092c to 0x1002409b4 (136 bytes)
//
// 3 xrefs:
// > cocos2d::ZipUtils::compressString @ 0x10023d5c4
// > cocos2d::ZipUtils::base64EncodeEnc @ 0x10023e0f4
// > cocos2d::ZipUtils::base64URLEncode @ 0x10023e330
//
// 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_10024092C(unsigned __int8 *a1, unsigned int a2, _QWORD *a3, int a4)
{
__int64 v8; // x22
void *v9; // x0
v8 = 4 * a2 / 3 + 4 * (-1431655765 * a2 > 0x55555555);
v9 = malloc((unsigned int)(v8 + 1));
*a3 = v9;
if ( v9 )
sub_10024076C(a1, a2, (__int64)v9, a4);
return v8;
}