//
// GJLevelList::getUnpackedDescription from 0x1000d6490 to 0x1000d6524 (148 bytes)
//
// 4 xrefs:
// > sub_1000D6CEC @ 0x1000d6d28
// > sub_1002E211C @ 0x1002e2154
// > sub_1002E5208 @ 0x1002e55d0
// > InfoLayer::init @ 0x1003ee704
//
// This function is hookable on this platform (idp: arm, 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 10:58:56 +0000
//
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 + 504);
if ( (*(char *)(a1 + 527) & 0x80000000) == 0 )
{
if ( *(_BYTE *)(a1 + 527) )
{
*(_OWORD *)__p = *(_OWORD *)v3;
v6 = *(_QWORD *)(a1 + 520);
goto LABEL_6;
}
LABEL_9:
sub_100009900(a2, "");
return;
}
v4 = *(_QWORD *)(a1 + 512);
if ( !v4 )
goto LABEL_9;
sub_1000097D0(__p, *v3, v4);
LABEL_6:
LevelTools::base64DecodeString(a2, __p);
if ( SHIBYTE(v6) < 0 )
operator delete(__p[0]);
}