// // base64Decode from 0x1800965f0 to 0x180096688 (152 bytes) // // 10 xrefs: // > cocos2d::CCParticleSystem::initWithDictionary @ 0x18006a8f2 // > cocos2d::ZipUtils::base64DecodeEnc @ 0x1800a67a5 // > cocos2d::ZipUtils::base64URLDecode @ 0x1800a6b06 // > cocos2d::ZipUtils::decompressString2 @ 0x1800a7815 // > cocos2d::ZipUtils::decompressString2 @ 0x1800a7870 // > cocos2d::ZipUtils::decompressString @ 0x1800a7b1b // > cocos2d::ZipUtils::decompressString @ 0x1800a7b4b // > cocos2d::CCTMXMapInfo::endElement @ 0x1800b2b1e // > @ 0x18014cf68 // > @ 0x1801c06d8 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:22:09 +0000 // __int64 __fastcall base64Decode(unsigned __int8 *a1, unsigned int a2, void **a3, char a4) { void *v8; // rax unsigned int v10; // [rsp+48h] [rbp+10h] BYREF v10 = 0; v8 = malloc(((unsigned __int64)a2 >> 2) + 2 * (((unsigned __int64)a2 >> 2) + 2)); *a3 = v8; if ( !v8 ) return 0; if ( (int)sub_180095FD0(a1, a2, (__int64)v8, &v10, a4) > 0 ) { sub_180077BC0("Base64Utils: error decoding"); free(*a3); *a3 = nullptr; return 0; } return v10; }