//
// GJLevelList::getUnpackedDescription from 0x1000b10b0 to 0x1000b1144 (148 bytes)
//
// 4 xrefs:
// > GJLevelList::showListInfo @ 0x1000b1b18
// > LevelListLayer::onDescription @ 0x100244fc8
// > ShareListLayer::init @ 0x100248380
// > InfoLayer::init @ 0x10035014c
//
// 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
//
void __usercall GJLevelList::getUnpackedDescription(__int64 a1@, _QWORD *a2@)
{
void **v3; // x8
unsigned __int64 v4; // x2
void *__p[2]; // [xsp+0h] [xbp-30h] BYREF
__int64 v6; // [xsp+10h] [xbp-20h]
v3 = (void **)(a1 + 496);
if ( (*(char *)(a1 + 519) & 0x80000000) == 0 )
{
if ( *(_BYTE *)(a1 + 519) )
{
*(_OWORD *)__p = *(_OWORD *)v3;
v6 = *(_QWORD *)(a1 + 512);
goto LABEL_6;
}
LABEL_9:
sub_100009900(a2, "");
return;
}
v4 = *(_QWORD *)(a1 + 504);
if ( !v4 )
goto LABEL_9;
sub_1000097D0(__p, *v3, v4);
LABEL_6:
LevelTools::base64DecodeString(a2, __p);
if ( SHIBYTE(v6) < 0 )
operator delete(__p[0]);
}