//
// GJRateLevelLayer::onFeature from 0x564aae to 0x564ae6 (56 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:27 +0000
//
int __fastcall GJRateLevelLayer::onFeature(GJRateLevelLayer *this, cocos2d::CCObject *a2)
{
int v3; // r1
int v4; // r1
v3 = *((_DWORD *)this + 191);
if ( v3 > 3 )
v4 = 0;
else
v4 = v3 + 1;
*((_DWORD *)this + 191) = v4;
GJDifficultySprite::updateFeatureState(*((_DWORD *)this + 190));
return (*(int (__fastcall **)(GJRateLevelLayer *, int, bool))(*(_DWORD *)this + 676))(
this,
1,
*((_DWORD *)this + 191) != 0);
}