//
// RateStarsLayer::onFeature from 0x82438c to 0x8243a8 (28 bytes)
//
// 3 xrefs:
// > ??> @ 0xae768
// > RateStarsLayer::init @ 0x824e70
// > ??> @ 0x122e078
//
// 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 RateStarsLayer::onFeature(RateStarsLayer *a1, cocos2d::CCObject *a2)
{
int m_featureState; // w1
GJDifficultySprite *m_difficultySprite; // x0
GJFeatureState v5; // w1
m_featureState = a1->m_featureState;
m_difficultySprite = a1->m_difficultySprite;
if ( m_featureState <= 3 )
v5 = m_featureState + 1;
else
v5 = 0;
a1->m_featureState = v5;
GJDifficultySprite::updateFeatureState(m_difficultySprite, v5);
}