//
// RateStarsModLayer::onFeature from 0xcfc84c to 0xcfc868 (28 bytes)
//
// 3 xrefs:
// > ??> @ 0xea1a8
// > RateStarsModLayer::init @ 0xcfd4cc
// > ??> @ 0x1547138
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:06:52 +0000
//
__int64 __fastcall RateStarsModLayer::onFeature(RateStarsModLayer *this, cocos2d::CCObject *a2)
{
int v2; // w1
_DWORD *v4; // x0
int v5; // w1
v2 = *((_DWORD *)this + 188);
v4 = *((_DWORD **)this + 93);
if ( v2 <= 3 )
v5 = v2 + 1;
else
v5 = 0;
*((_DWORD *)this + 188) = v5;
return GJDifficultySprite::updateFeatureState(v4, v5);
}