//
// LevelFeatureLayer::onSetFeatured from 0x820444 to 0x820490 (76 bytes)
//
// 3 xrefs:
// > ??> @ 0x4d910
// > LevelFeatureLayer::init @ 0x821208
// > ??> @ 0x122a7d0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void LevelFeatureLayer::onSetFeatured(LevelFeatureLayer *a1, cocos2d::CCObject *a2)
{
GameLevelManager *v3; // x0
if ( a1->m_featurePosition )
{
v3 = GameLevelManager::sharedState();
GameLevelManager::setLevelFeatured(v3, a1->m_levelID, a1->m_featurePosition, a1->m_epicOnly);
LevelFeatureLayer::onClose(a1, nullptr);
}
}