//
// GauntletLayer::onLevel from 0x4da018 to 0x4da03e (38 bytes)
//
// 0 xrefs:
//
// 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 GauntletLayer::onLevel(GauntletLayer *a1, cocos2d::CCObject *a2)
{
cocos2d::CCArray *m_levels; // r4
unsigned int v3; // r0
GJGameLevel *v4; // r4
GameLevelManager *v5; // r0
m_levels = a1->m_levels;
v3 = a2->getTag(a2);
v4 = (GJGameLevel *)cocos2d::CCArray::objectAtIndex(m_levels, v3);
v5 = GameLevelManager::sharedState();
GameLevelManager::gotoLevelPage(v5, v4);
}