//
// BrowseSmartTemplateLayer::onClick from 0x1000724a0 to 0x100072500 (96 bytes)
//
// 1 xrefs:
// > BrowseSmartTemplateLayer::baseSetup @ 0x100071b48
//
// 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 __fastcall BrowseSmartTemplateLayer::onClick(BrowseSmartTemplateLayer *a1, cocos2d::CCObject *a2)
{
int v3; // w0
int v4; // w8
v3 = ((__int64 (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2);
if ( v3 == 1 )
{
v4 = -1;
}
else
{
if ( v3 != 2 )
return;
v4 = 1;
}
BrowseSmartTemplateLayer::goToPage(a1, a1->m_page + v4);
}