//
// LevelListLayer::onDescription from 0x58eed8 to 0x58ef68 (144 bytes)
//
// 0 xrefs:
//
// 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 LevelListLayer::onDescription(LevelListLayer *a1, cocos2d::CCObject *a2)
{
GJLevelList *m_levelList; // r1
int m_M_ID; // r8
int *v5; // r8
int v6; // r3
char v7; // [sp+Ch] [bp-Ch] BYREF
char v8; // [sp+10h] [bp-8h] BYREF
if ( !a1->m_exiting )
{
sub_776584((int)&v8, "Description");
m_levelList = a1->m_levelList;
m_M_ID = m_levelList->m_M_ID;
GJLevelList::getUnpackedDescription((GJLevelList *)&v7, (stl::StringData::Internal *)m_levelList);
v5 = (int *)ShareCommentLayer::create((ShareCommentLayer *)&v8, (std::string)300, 4, m_M_ID, (int)&v7);
sub_774008(&v7);
sub_774008(&v8);
v6 = *v5;
v5[138] = (int)&a1->ShareCommentDelegate;
(*(void (__fastcall **)(int *))(v6 + 644))(v5);
}
}