//
// GJRateLevelLayer::onFeature from 0x950718 to 0x95076c (84 bytes)
//
// 3 xrefs:
// > ??> @ 0xfbd28
// > GJRateLevelLayer::init @ 0x95286c
// > ??> @ 0x1547a80
//
// 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 12:57:22 +0000
//
__int64 __fastcall GJRateLevelLayer::onFeature(GJRateLevelLayer *this, cocos2d::CCObject *a2)
{
int v3; // w1
__int64 v4; // x0
int v5; // w1
v3 = *((_DWORD *)this + 278);
v4 = *((_QWORD *)this + 138);
if ( v3 <= 3 )
v5 = v3 + 1;
else
v5 = 0;
*((_DWORD *)this + 278) = v5;
GJDifficultySprite::updateFeatureState(v4);
return (*(__int64 (__fastcall **)(GJRateLevelLayer *, __int64, bool))(*(_QWORD *)this + 1352LL))(
this,
1,
*((_DWORD *)this + 278) != 0);
}