//
// LevelListLayer::onDescription from 0x100349490 to 0x10034953d (173 bytes)
//
// 1 xrefs:
// > LevelListLayer::init @ 0x10034817a
//
// This function is hookable on this platform (idp: pc, 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 12:28:46 +0000
//
void __fastcall LevelListLayer::onDescription(__int64 a1)
{
unsigned int v1; // r14d
_QWORD *v2; // r14
_BYTE v3[16]; // [rsp+0h] [rbp-40h] BYREF
void *__p; // [rsp+10h] [rbp-30h]
char v5; // [rsp+18h] [rbp-28h] BYREF
void *v6[4]; // [rsp+19h] [rbp-27h] BYREF
if ( !*(_BYTE *)(a1 + 952) )
{
v5 = 22;
strcpy((char *)v6, "Description");
v1 = *(_DWORD *)(*(_QWORD *)(a1 + 912) + 548LL);
GJLevelList::getUnpackedDescription(v3);
v2 = (_QWORD *)ShareCommentLayer::create(&v5, 280, 4, v1, v3);
if ( (v3[0] & 1) != 0 )
operator delete(__p);
if ( (v5 & 1) != 0 )
operator delete(*(void **)((char *)&v6[1] + 7));
v2[101] = a1 + 584;
(*(void (__fastcall **)(_QWORD *))(*v2 + 1312LL))(v2);
}
}