//
// DailyLevelPage::onTheSafe from 0x606cd0 to 0x606d04 (52 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:45 +0000
//
int __fastcall DailyLevelPage::onTheSafe(DailyLevelPage *this, cocos2d::CCObject *a2)
{
cocos2d::CCDirector *v3; // r4
__int64 v4; // r0
AppDelegate *v5; // r0
cocos2d::CCScene *v6; // r2
cocos2d::CCScene *v7; // r0
GameManager *v8; // r0
int result; // r0
v3 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(this);
v4 = LevelBrowserLayer::safeSearchObject(*((_DWORD *)this + 139));
v5 = LevelBrowserLayer::scene((LevelBrowserLayer *)v4, (GJSearchObject *)HIDWORD(v4));
v7 = (cocos2d::CCScene *)cocos2d::CCTransitionFade::create((cocos2d::CCTransitionFade *)0x3F000000, *(float *)&v5, v6);
v8 = (GameManager *)cocos2d::CCDirector::pushScene(v3, v7);
result = GameManager::sharedState(v8);
*(_DWORD *)(result + 508) = 1;
return result;
}