//
// LevelListLayer::onDescription from 0x100244f90 to 0x100245030 (160 bytes)
//
// 1 xrefs:
// > LevelListLayer::init @ 0x100243ef4
//
// 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)
{
GJLevelList *m_levelList; // x0
__int64 m_M_ID; // x20
cocos2d::CCObject *v5; // x20
void *__p[2]; // [xsp+0h] [xbp-40h] BYREF
char v7; // [xsp+17h] [xbp-29h]
void *v8[2]; // [xsp+18h] [xbp-28h] BYREF
char v9; // [xsp+2Fh] [xbp-11h]
if ( !a1->m_exiting )
{
sub_100009900(v8, "Description");
m_levelList = a1->m_levelList;
m_M_ID = (unsigned int)m_levelList->m_M_ID;
GJLevelList::getUnpackedDescription((__int64)m_levelList, __p);
v5 = ShareCommentLayer::create((__int64)v8, 300, 4, m_M_ID, (__int64)__p);
if ( v7 < 0 )
operator delete(__p[0]);
if ( v9 < 0 )
operator delete(v8[0]);
*(_QWORD *)&v5[13].m_uIndexInArray = &a1->ShareCommentDelegate;
((void (__fastcall *)(cocos2d::CCObject *))v5->__vftable[16].~CCObject)(v5);
}
}