//
// RateStarsLayer::onFeature from 0x100080984 to 0x10008099c (24 bytes)
//
// 1 xrefs:
// > RateStarsLayer::init @ 0x10008054c
//
// 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 RateStarsLayer::onFeature(RateStarsLayer *a1, cocos2d::CCObject *a2)
{
int m_featureState; // w8
GJFeatureState v3; // w1
m_featureState = a1->m_featureState;
if ( m_featureState <= 3 )
v3 = m_featureState + 1;
else
v3 = 0;
a1->m_featureState = v3;
GJDifficultySprite::updateFeatureState(a1->m_difficultySprite, v3);
}