// // DailyLevelPage::onTheSafe from 0x1400d1fe0 to 0x1400d20b8 (216 bytes) // // 2 xrefs: // > DailyLevelPage::init @ 0x1400cf24e // > @ 0x1406c85d4 // // 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 // // Hidden C++ exception states: #wind=1 void DailyLevelPage::onTheSafe(DailyLevelPage *a1, cocos2d::CCObject *a2) { SearchType v2; // eax GJTimedLevelType m_type; // edx GJSearchObject *v4; // rbx __int64 v5; // rdx __int64 v6; // rcx struct cocos2d::CCScene *v7; // rdi __int64 v8; // rdx __int64 v9; // rcx LevelBrowserLayer *v10; // rax struct cocos2d::CCTransitionFade *v11; // rbx __int64 v12; // rcx cocos2d::CCDirector *v13; // rax __int64 v14; // rax void *v15; // [rsp+30h] [rbp+8h] v2 = DailySafe; m_type = a1->m_type; if ( m_type == 1 ) { v2 = WeeklySafe; } else if ( m_type == Event ) { v2 = EventSafe; } v4 = GJSearchObject::create_2(v2); v7 = (struct cocos2d::CCScene *)cocos2d::CCScene::create(v6, v5); *(_QWORD *)(cocos2d::CCApplication::sharedApplication(v9, v8) + 224) = v7; v10 = LevelBrowserLayer::create(v4); v7->addChild_1(v7, v10); v11 = cocos2d::CCTransitionFade::create(0.5, v7); v13 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v12); cocos2d::CCDirector::pushScene(v13, v11); v14 = qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v15 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00(v15); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v14 = qword_1406C2ED8; } *(_DWORD *)(v14 + 700) = 1; }