//
// DailyLevelPage::onTheSafe from 0x4d3ad8 to 0x4d3b1c (68 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 DailyLevelPage::onTheSafe(DailyLevelPage *a1, cocos2d::CCObject *a2)
{
GJTimedLevelType m_type; // r3
int v3; // r4
cocos2d::CCDirector *v4; // r5
GJSearchObject *v5; // r0
cocos2d::CCScene *v6; // r0
cocos2d::CCTransitionFade *v7; // r0
m_type = a1->m_type;
if ( m_type == 1 )
{
v3 = 22;
}
else if ( m_type == Event )
{
v3 = 23;
}
else
{
v3 = 21;
}
v4 = cocos2d::CCDirector::sharedDirector();
v5 = (GJSearchObject *)GJSearchObject::create(v3);
v6 = LevelBrowserLayer::scene(v5);
v7 = cocos2d::CCTransitionFade::create(0.5, v6);
cocos2d::CCDirector::pushScene(v4, v7);
GameManager::sharedState()->m_sceneEnum = 1;
}