//
// LevelTools::base64DecodeString from 0x605f5c to 0x605fb4 (88 bytes)
//
// 8 xrefs:
// > TextGameObject::customObjectSetup @ 0x6565b4
// > GJGameLevel::getUnpackedLevelDescription @ 0x70bef0
// > GJFriendRequest::create @ 0x712a28
// > GJUserMessage::create @ 0x713cac
// > GJComment::create @ 0x716e1c
// > GJLevelList::getUnpackedDescription @ 0x719304
// > GameLevelManager::getGauntletLevels @ 0x71dc0c
// > ??> @ 0x87918
//
// 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
//
_QWORD *__usercall LevelTools::base64DecodeString@(cocos2d::ZipUtils *a1@, _QWORD *a2@)
{
if ( *(_QWORD *)(*(_QWORD *)a1 - 24LL) )
{
cocos2d::ZipUtils::base64URLDecode(a1, (const std::string *)a1);
return a2;
}
else
{
*a2 = *(_QWORD *)a1;
*(_QWORD *)a1 = &byte_124B6C8;
return a2;
}
}