//
// DailyLevelPage::onTheSafe from 0x9127f0 to 0x912860 (112 bytes)
//
// 3 xrefs:
// > ??> @ 0xb27d0
// > DailyLevelPage::init @ 0x914b64
// > ??> @ 0x122e310
//
// 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; // w0
char *v3; // x19
cocos2d::CCDirector *v4; // x20
GJSearchObject *v5; // x0
cocos2d::CCScene *v6; // x0
cocos2d::CCTransitionFade *v7; // x0
m_type = a1->m_type;
if ( m_type == 1 )
{
LODWORD(v3) = 22;
}
else if ( m_type == Event )
{
LODWORD(v3) = 23;
}
else
{
v3 = (char *)&dword_14 + 1;
}
v4 = cocos2d::CCDirector::sharedDirector();
v5 = (GJSearchObject *)GJSearchObject::create((int)v3);
v6 = LevelBrowserLayer::scene(v5);
v7 = cocos2d::CCTransitionFade::create(0.5, v6);
cocos2d::CCDirector::pushScene(v4, v7);
GameManager::sharedState()->m_sceneEnum = 1;
}