//
// sub_1002E211C from 0x1002e211c to 0x1002e21bc (160 bytes)
//
// 1 xrefs:
// > LevelListLayer::init @ 0x1002e0f9c
//
// 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 11:02:48 +0000
//
__int64 __fastcall sub_1002E211C(__int64 result)
{
__int64 v1; // x19
__int64 v2; // x0
__int64 v3; // x20
_QWORD *v4; // x20
void *__p[2]; // [xsp+0h] [xbp-40h] BYREF
char v6; // [xsp+17h] [xbp-29h]
void *v7[2]; // [xsp+18h] [xbp-28h] BYREF
char v8; // [xsp+2Fh] [xbp-11h]
if ( (*(_BYTE *)(result + 952) & 1) == 0 )
{
v1 = result;
sub_100009900(v7, "Description");
v2 = *(_QWORD *)(v1 + 912);
v3 = *(unsigned int *)(v2 + 548);
GJLevelList::getUnpackedDescription(v2, __p);
v4 = ShareCommentLayer::create((__int64)v7, 280, 4, v3, (__int64)__p);
if ( v6 < 0 )
operator delete(__p[0]);
if ( v8 < 0 )
operator delete(v7[0]);
v4[101] = v1 + 584;
return (*(__int64 (__fastcall **)(_QWORD *))(*v4 + 1312LL))(v4);
}
return result;
}