//
// LevelListLayer::onDescription from 0x140307860 to 0x14030792c (204 bytes)
//
// 2 xrefs:
// > LevelListLayer::init @ 0x140304a1f
// > ??> @ 0x1406d44fc
//
// 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
//
// Hidden C++ exception states: #wind=1
void LevelListLayer::onDescription(LevelListLayer *a1, cocos2d::CCObject *a2)
{
__int64 UnpackedDescription; // rax
_QWORD *v4; // rax
ShareCommentDelegate *v5; // rcx
_DWORD v6[4]; // [rsp+30h] [rbp-48h] BYREF
__int64 v7; // [rsp+40h] [rbp-38h]
__int64 v8; // [rsp+48h] [rbp-30h]
__int64 v9; // [rsp+50h] [rbp-28h] BYREF
if ( !a1->m_exiting )
{
UnpackedDescription = GJLevelList::getUnpackedDescription((__int64)a1->m_levelList, (__int64)&v9);
v6[3] = 0;
v7 = 11;
v8 = 15;
strcpy((char *)v6, "Description");
v4 = (_QWORD *)ShareCommentLayer::create((unsigned int)v6, 300, 4, a1->m_levelList->m_M_ID, UnpackedDescription);
v5 = &a1->ShareCommentDelegate;
if ( !a1 )
v5 = nullptr;
v4[97] = v5;
(*(void (__fastcall **)(_QWORD *))(*v4 + 1040LL))(v4);
}
}