//
// SmartTemplateCell::onClick from 0x73611c to 0x7361c8 (172 bytes)
//
// 4 xrefs:
// > ??> @ 0xb5f18
// > SmartTemplateCell::loadFromObject @ 0x73ff88
// > SmartTemplateCell::loadFromObject @ 0x73ffe8
// > ??> @ 0x15453c8
//
// 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 12:52:39 +0000
//
GameLevelManager *__fastcall SmartTemplateCell::onClick(GameLevelManager *this, cocos2d::CCObject *a2)
{
GameLevelManager *v2; // x19
if ( a2 )
{
v2 = this;
this = (GameLevelManager *)(*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2);
if ( (_DWORD)this )
{
if ( (_DWORD)this == 1 )
{
this = *(GameLevelManager **)(*((_QWORD *)v2 + 52) + 632LL);
if ( this )
return (GameLevelManager *)(**(__int64 (__fastcall ***)(GameLevelManager *, GameLevelManager *, __int64, __int64, _QWORD))this)(
this,
v2,
20,
6,
0);
}
}
else
{
this = *((GameLevelManager **)v2 + 69);
if ( this )
{
*(_QWORD *)(GameLevelManager::sharedState(this) + 1528) = *((_QWORD *)v2 + 69);
this = *(GameLevelManager **)(*((_QWORD *)v2 + 52) + 632LL);
if ( this )
return (GameLevelManager *)(**(__int64 (__fastcall ***)(GameLevelManager *, GameLevelManager *, __int64, __int64, _QWORD))this)(
this,
v2,
20,
1,
0);
}
}
}
return this;
}