//
// LevelFeatureLayer::onSetFeatured from 0x95091c to 0x950968 (76 bytes)
//
// 3 xrefs:
// > ??> @ 0x6cbf8
// > LevelFeatureLayer::init @ 0x9512c0
// > ??> @ 0x1542af8
//
// 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
//
LevelFeatureLayer *__fastcall LevelFeatureLayer::onSetFeatured(LevelFeatureLayer *this, cocos2d::CCObject *a2)
{
LevelFeatureLayer *v2; // x19
GameLevelManager *v3; // x0
if ( *((_DWORD *)this + 169) )
{
v2 = this;
v3 = (GameLevelManager *)GameLevelManager::sharedState(this);
GameLevelManager::setLevelFeatured(v3);
return (LevelFeatureLayer *)LevelFeatureLayer::onClose(v2, nullptr);
}
return this;
}