//
// LevelListLayer::onDescription from 0x6d560c to 0x6d56a2 (150 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:57:06 +0000
//
int __fastcall LevelListLayer::onDescription(int this, cocos2d::CCObject *a2)
{
int v2; // r5
int v3; // r4
int v4; // r1
int v5; // r8
int v6; // r2
int v7; // r3
int *v8; // r8
int v9; // r3
_BYTE v10[12]; // [sp+Ch] [bp-1Ch] BYREF
int v11[3]; // [sp+18h] [bp-10h] BYREF
v2 = *(unsigned __int8 *)(this + 660);
v3 = this;
if ( !*(_BYTE *)(this + 660) )
{
v11[0] = *(unsigned __int8 *)(this + 660);
v11[1] = v2;
v11[2] = v2;
std::string::__init(v11, "Description", 0xBu);
v4 = *(_DWORD *)(v3 + 640);
v5 = *(_DWORD *)(v4 + 412);
GJLevelList::getUnpackedDescription((GJLevelList *)v10, v4, v6, v7);
v8 = (int *)ShareCommentLayer::create((int)v11, 280, 4u, v5, (int)v10);
std::string::~string((int)v10);
std::string::~string((int)v11);
v9 = *v8;
v8[151] = v3 + 460;
return (*(int (__fastcall **)(int *))(v9 + 656))(v8);
}
return this;
}