//
// BrowseSmartKeyLayer::onButton from 0x1004eb710 to 0x1004eb786 (118 bytes)
//
// 1 xrefs:
// > BrowseSmartKeyLayer::init @ 0x1004eb350
//
// 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 BrowseSmartKeyLayer::onButton(BrowseSmartKeyLayer *a1, cocos2d::CCObject *a2)
{
switch ( ((unsigned int (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2) )
{
case 1u:
BrowseSmartKeyLayer::createTemplateObjects(a1);
break;
case 2u:
BrowseSmartKeyLayer::deletedSelectedItems(a1);
break;
case 3u:
BrowseSmartKeyLayer::addChanceToSelected(a1, 0, 1);
break;
case 4u:
BrowseSmartKeyLayer::addChanceToSelected(a1, 10, 0);
break;
default:
return;
}
}