// // base64Decode from 0xb20768 to 0xb20838 (208 bytes) // // 9 xrefs: // > cocos2d::CCParticleSystem::initWithDictionary @ 0xb01828 // > cocos2d::ZipUtils::base64DecodeEnc @ 0xb2914c // > cocos2d::ZipUtils::base64URLDecode @ 0xb29610 // > cocos2d::ZipUtils::decompressString2 @ 0xb2a1fc // > cocos2d::ZipUtils::decompressString2 @ 0xb2a274 // > cocos2d::ZipUtils::decompressString @ 0xb2a434 // > cocos2d::ZipUtils::decompressString @ 0xb2a570 // > cocos2d::CCTMXMapInfo::endElement @ 0xb3b5f8 // > @ 0x77d48 // // 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 base64Decode(cocos2d *a1, const unsigned __int8 *a2, void **a3, unsigned __int8 a4) { unsigned int v6; // w22 void *v7; // x0 unsigned __int8 v10[4]; // [xsp+44h] [xbp+44h] BYREF v6 = a4; *(_DWORD *)v10 = 0; v7 = malloc((unsigned __int64)(float)((float)((float)((float)(unsigned int)a2 * 3.0) * 0.25) + 4.0)); *a3 = v7; if ( !v7 ) return 0; if ( (int)cocos2d::_base64Decode(a1, a2, (__int64)v7, v10, (unsigned int *)v6) <= 0 ) return *(unsigned int *)v10; printf("Base64Utils: error decoding"); free(*a3); *a3 = nullptr; return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source