//
// RateStarsModLayer::onFeature from 0x79e48a to 0x79e4a2 (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:59:51 +0000
//
_DWORD *__fastcall RateStarsModLayer::onFeature(RateStarsModLayer *this, cocos2d::CCObject *a2)
{
int v2; // r1
int v3; // r1
v2 = *((_DWORD *)this + 142);
if ( v2 > 3 )
v3 = 0;
else
v3 = v2 + 1;
*((_DWORD *)this + 142) = v3;
return GJDifficultySprite::updateFeatureState(*((_DWORD **)this + 141), v3);
}