//
// LevelTools::base64DecodeString from 0x32c60c to 0x32c62e (34 bytes)
//
// 7 xrefs:
// > TextGameObject::customObjectSetup @ 0x36320a
// > GJGameLevel::getUnpackedLevelDescription @ 0x3c98e6
// > GJFriendRequest::create @ 0x3cba82
// > GJUserMessage::create @ 0x3cc022
// > GJComment::create @ 0x3cd10e
// > GJLevelList::getUnpackedDescription @ 0x3cdc9a
// > GameLevelManager::getGauntletLevels @ 0x3cff84
//
// 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
//
cocos2d::ZipUtils *__fastcall LevelTools::base64DecodeString(cocos2d::ZipUtils *a1, std::string *a2)
{
if ( *((_DWORD *)a2->m_data.m_data - 3) )
{
cocos2d::ZipUtils::base64URLDecode(a1, a2);
}
else
{
*(_DWORD *)a1 = a2->m_data.m_data;
a2->m_data.m_data = (stl::StringData::Internal *)&unk_ACDDA8;
}
return a1;
}