//
// LevelFeatureLayer::onDown2 from 0x951a3c to 0x951a50 (20 bytes)
//
// 3 xrefs:
// > ??> @ 0x451c0
// > LevelFeatureLayer::init @ 0x951594
// > ??> @ 0x1541498
//
// 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:23 +0000
//
__int64 __fastcall LevelFeatureLayer::onDown2(LevelFeatureLayer *this, cocos2d::CCObject *a2)
{
int v2; // w1
v2 = *((_DWORD *)this + 169) - 10;
if ( v2 < 0 )
v2 = 0;
*((_DWORD *)this + 169) = v2;
return LevelFeatureLayer::updateStars(this);
}