//
// GJRateLevelLayer::onFeature from 0x453104 to 0x45313c (56 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 GJRateLevelLayer::onFeature(GJRateLevelLayer *a1, cocos2d::CCObject *a2)
{
GJFeatureState m_featureState; // r1
GJFeatureState v4; // r1
m_featureState = a1->m_featureState;
if ( m_featureState > Legendary )
v4 = 0;
else
v4 = m_featureState + 1;
a1->m_featureState = v4;
GJDifficultySprite::updateFeatureState(a1->m_difficultySprite, v4);
a1->toggleGroup(a1, 1, a1->m_featureState != 0);
}