//
// SecretRewardsLayer::onChestType from 0xa6b04c to 0xa6b0a0 (84 bytes)
//
// 3 xrefs:
// > ??> @ 0xc5bb0
// > SecretRewardsLayer::init @ 0xa62ddc
// > ??> @ 0x122ede0
//
// 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 SecretRewardsLayer::onChestType(SecretRewardsLayer *a1, cocos2d::CCObject *a2)
{
int v3; // w2
v3 = a2->getTag(a2);
if ( v3 <= 5 )
SecretRewardsLayer::moveToSecondaryLayer(a1, v3 + 3);
else
SecretRewardsLayer::onSpecialItem(a1, a2);
}