//
// LevelListLayer::onDescription from 0x10035de00 to 0x10035dead (173 bytes)
//
// 1 xrefs:
// > LevelListLayer::init @ 0x10035cbc8
//
// 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 __fastcall LevelListLayer::onDescription(LevelListLayer *a1, cocos2d::CCObject *a2)
{
unsigned int m_M_ID; // r14d
_QWORD *v3; // r14
_BYTE v4[16]; // [rsp+0h] [rbp-40h] BYREF
void *__p; // [rsp+10h] [rbp-30h]
char v6; // [rsp+18h] [rbp-28h] BYREF
void *v7[4]; // [rsp+19h] [rbp-27h] BYREF
if ( !a1->m_exiting )
{
v6 = 22;
strcpy((char *)v7, "Description");
m_M_ID = a1->m_levelList->m_M_ID;
GJLevelList::getUnpackedDescription(v4);
v3 = (_QWORD *)ShareCommentLayer::create(&v6, 300, 4, m_M_ID, v4);
if ( (v4[0] & 1) != 0 )
operator delete(__p);
if ( (v6 & 1) != 0 )
operator delete(*(void **)((char *)&v7[1] + 7));
v3[95] = &a1->ShareCommentDelegate;
(*(void (__fastcall **)(_QWORD *))(*v3 + 1288LL))(v3);
}
}