//
// GJGameLevel::getUnpackedLevelDescription from 0x3c98b0 to 0x3c990e (94 bytes)
//
// 4 xrefs:
// > EditLevelLayer::init @ 0x3b7082
// > ShareLevelLayer::init @ 0x3b8f1e
// > InfoLayer::onLevelInfo @ 0x42f10a
// > InfoLayer::init @ 0x43076c
//
// 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
//
GJGameLevel *__fastcall GJGameLevel::getUnpackedLevelDescription(
GJGameLevel *this,
stl::StringData::Internal *a2)
{
std::string v4[2]; // [sp+0h] [bp-8h] BYREF
v4[0].m_data.m_data = (stl::StringData::Internal *)this;
v4[1].m_data.m_data = a2;
if ( *(_DWORD *)(*((_DWORD *)a2 + 71) - 12) )
{
sub_775C20(v4, (char *)a2 + 284);
LevelTools::base64DecodeString((cocos2d::ZipUtils *)this, v4);
sub_774008(v4);
}
else
{
sub_776584((int)this, (char *)&unk_939830);
}
return this;
}