//
// BrowseSmartTemplateLayer::onClick from 0x53f11c to 0x53f14c (48 bytes)
//
// 0 xrefs:
//
// 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 BrowseSmartTemplateLayer::onClick(BrowseSmartTemplateLayer *a1, cocos2d::CCObject *a2)
{
int v3; // r0
BrowseSmartTemplateLayer *v4; // r0
int v5; // r1
v3 = a2->getTag(a2);
if ( v3 == 1 )
{
v4 = a1;
v5 = a1->m_page - 1;
LABEL_6:
BrowseSmartTemplateLayer::goToPage(v4, v5);
return;
}
if ( v3 == 2 )
{
v4 = a1;
v5 = a1->m_page + 1;
goto LABEL_6;
}
}