//
// RateStarsLayer::onFeature from 0x569166 to 0x56917e (24 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:52:30 +0000
//
int __fastcall RateStarsLayer::onFeature(RateStarsLayer *this, cocos2d::CCObject *a2)
{
int v2; // r1
int v3; // r1
v2 = *((_DWORD *)this + 141);
if ( v2 > 3 )
v3 = 0;
else
v3 = v2 + 1;
*((_DWORD *)this + 141) = v3;
return GJDifficultySprite::updateFeatureState(*((_DWORD *)this + 140));
}