//
// DailyLevelPage::onTheSafe from 0xa6cc78 to 0xa6ccc8 (80 bytes)
//
// 3 xrefs:
// > ??> @ 0xe96c8
// > DailyLevelPage::init @ 0xa6f608
// > ??> @ 0x15470d0
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:00:21 +0000
//
__int64 __fastcall DailyLevelPage::onTheSafe(DailyLevelPage *this, cocos2d::CCObject *a2)
{
cocos2d::CCDirector *v3; // x19
LevelBrowserLayer *v4; // x0
GJSearchObject *v5; // x1
AppDelegate *v6; // x0
cocos2d::CCScene *v7; // x1
cocos2d::CCScene *v8; // x0
GameManager *v9; // x0
__int64 result; // x0
v3 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(this);
v4 = (LevelBrowserLayer *)LevelBrowserLayer::safeSearchObject(*((_DWORD *)this + 183));
v6 = LevelBrowserLayer::scene(v4, v5);
v8 = (cocos2d::CCScene *)cocos2d::CCTransitionFade::create(v6, 0.5, v7);
v9 = (GameManager *)cocos2d::CCDirector::pushScene(v3, v8);
result = GameManager::sharedState(v9);
*(_DWORD *)(result + 708) = 1;
return result;
}