//
// BrowseSmartKeyLayer::onButton from 0x9e20d4 to 0x9e2174 (160 bytes)
//
// 6 xrefs:
// > ??> @ 0xc01b0
// > BrowseSmartKeyLayer::init @ 0x9e0bd4
// > BrowseSmartKeyLayer::init @ 0x9e0c40
// > BrowseSmartKeyLayer::init @ 0x9e0ca8
// > BrowseSmartKeyLayer::init @ 0x9e0d10
// > ??> @ 0x122eaa8
//
// 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 BrowseSmartKeyLayer::onButton(BrowseSmartKeyLayer *a1, cocos2d::CCObject *a2)
{
switch ( a2->getTag(a2) )
{
case 1:
BrowseSmartKeyLayer::createTemplateObjects(a1);
break;
case 2:
BrowseSmartKeyLayer::deletedSelectedItems(a1);
break;
case 3:
BrowseSmartKeyLayer::addChanceToSelected(a1, 0, 1);
break;
case 4:
BrowseSmartKeyLayer::addChanceToSelected(a1, 10, 0);
break;
default:
return;
}
}