//
// DailyLevelPage::onTheSafe from 0x1001b9af4 to 0x1001b9b60 (108 bytes)
//
// 1 xrefs:
// > DailyLevelPage::init @ 0x1001b9574
//
// 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 DailyLevelPage::onTheSafe(DailyLevelPage *a1, cocos2d::CCObject *a2)
{
GJTimedLevelType m_type; // w8
int v3; // w9
SearchType v4; // w19
cocos2d::CCDirector *v5; // x20
GJSearchObject *v6; // x0
cocos2d::CCScene *v7; // x0
cocos2d::CCTransitionFade *v8; // x0
m_type = a1->m_type;
if ( m_type == Event )
v3 = 23;
else
v3 = 21;
if ( m_type == 1 )
v4 = WeeklySafe;
else
v4 = v3;
v5 = cocos2d::CCDirector::sharedDirector();
v6 = GJSearchObject::create_2(v4);
v7 = LevelBrowserLayer::scene(v6);
v8 = cocos2d::CCTransitionFade::create_1(0.5, v7);
cocos2d::CCDirector::pushScene(v5, v8);
GameManager::sharedState()->m_sceneEnum = 1;
}