//
// LevelListLayer::onSelectIcon from 0xbaa098 to 0xbaa0dc (68 bytes)
//
// 3 xrefs:
// > ??> @ 0x79de0
// > LevelListLayer::init @ 0xbb0058
// > ??> @ 0x15431b0
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:02:51 +0000
//
__int64 __fastcall LevelListLayer::onSelectIcon(__int64 this, cocos2d::CCObject *a2)
{
__int64 v2; // x19
__int64 *v3; // x0
__int64 v4; // x2
if ( !*(_BYTE *)(this + 952) )
{
v2 = this + 848;
v3 = (__int64 *)SelectListIconLayer::create((SelectListIconLayer *)*(unsigned int *)(*(_QWORD *)(this + 912) + 360LL));
v4 = *v3;
v3[85] = v2;
return (*(__int64 (**)(void))(v4 + 1312))();
}
return this;
}