//
// GauntletLayer::onLevel from 0x1003945e0 to 0x100394619 (57 bytes)
//
// 1 xrefs:
// > GauntletLayer::setupGauntlet @ 0x1003935b0
//
// 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 __fastcall GauntletLayer::onLevel(GauntletLayer *a1, cocos2d::CCObject *a2)
{
cocos2d::CCArray *m_levels; // rbx
unsigned int v3; // eax
GJGameLevel *v4; // rbx
GameLevelManager *v5; // rax
m_levels = a1->m_levels;
v3 = ((__int64 (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2);
v4 = (GJGameLevel *)sub_1007200C0(m_levels, v3);
v5 = GameLevelManager::sharedState();
GameLevelManager::gotoLevelPage(v5, v4);
}