//
// DailyLevelPage::onTheSafe from 0x100230ea0 to 0x100230f0d (109 bytes)
//
// 1 xrefs:
// > DailyLevelPage::init @ 0x10023085a
//
// 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; // eax
SearchType v3; // ebx
cocos2d::CCDirector *v4; // r14
GJSearchObject *v5; // rax
cocos2d::CCScene *v6; // rax
cocos2d::CCTransitionFade *v7; // rax
m_type = a1->m_type;
v3 = WeeklySafe;
if ( m_type != 1 )
v3 = 2 * (m_type == Event) + 21;
v4 = cocos2d::CCDirector::sharedDirector();
v5 = GJSearchObject::create_2(v3);
v6 = LevelBrowserLayer::scene(v5);
v7 = cocos2d::CCTransitionFade::create_1(0.5, v6);
cocos2d::CCDirector::pushScene(v4, v7);
GameManager::sharedState()->m_sceneEnum = 1;
}