//
// GauntletLayer::onLevel from 0x60da94 to 0x60daba (38 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:54:49 +0000
//
cocos2d::CCDirector *__fastcall GauntletLayer::onLevel(GauntletLayer *this, cocos2d::CCObject *a2)
{
cocos2d::CCArray *v2; // r4
unsigned int v3; // r0
GameLevelManager *v4; // r4
GameLevelManager *v5; // r0
v2 = *((cocos2d::CCArray **)this + 80);
v3 = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2);
v4 = (GameLevelManager *)cocos2d::CCArray::objectAtIndex(v2, v3);
v5 = (GameLevelManager *)GameLevelManager::sharedState(v4);
return GameLevelManager::gotoLevelPage(v5, v4);
}