{"type": "func", "start": 4297264800, "end": 4297264909, "name": "DailyLevelPage::onTheSafe", "pseudocode": "// \n// DailyLevelPage::onTheSafe from 0x100230ea0 to 0x100230f0d (109 bytes)\n// \n// 1 xrefs:\n// > DailyLevelPage::init @ 0x10023085a\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall DailyLevelPage::onTheSafe(DailyLevelPage *a1, cocos2d::CCObject *a2)\n{\n  GJTimedLevelType m_type; // eax\n  SearchType v3; // ebx\n  cocos2d::CCDirector *v4; // r14\n  GJSearchObject *v5; // rax\n  cocos2d::CCScene *v6; // rax\n  cocos2d::CCTransitionFade *v7; // rax\n\n  m_type = a1->m_type;\n  v3 = WeeklySafe;\n  if ( m_type != 1 )\n    v3 = 2 * (m_type == Event) + 21;\n  v4 = cocos2d::CCDirector::sharedDirector();\n  v5 = GJSearchObject::create_2(v3);\n  v6 = LevelBrowserLayer::scene(v5);\n  v7 = cocos2d::CCTransitionFade::create_1(0.5, v6);\n  cocos2d::CCDirector::pushScene(v4, v7);\n  GameManager::sharedState()->m_sceneEnum = 1;\n}", "assembly": "; \n; DailyLevelPage::onTheSafe from 0x100230ea0 to 0x100230f0d (109 bytes)\n; \n; 1 xrefs:\n; > DailyLevelPage::init @ 0x10023085a\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x100230ea0\nmov     rbp, rsp                                                       ; +0x1, 0x100230ea1\npush    r14                                                            ; +0x4, 0x100230ea4\npush    rbx                                                            ; +0x6, 0x100230ea6\nmov     eax, [rdi+2BCh]                                                ; +0x7, 0x100230ea7\nxor     ecx, ecx                                                       ; +0xd, 0x100230ead\ncmp     eax, 2                                                         ; +0xf, 0x100230eaf\nsetz    cl                                                             ; +0x12, 0x100230eb2\nlea     ecx, ds:15h[rcx*2]                                             ; +0x15, 0x100230eb5\ncmp     eax, 1                                                         ; +0x1c, 0x100230ebc\nmov     ebx, 16h                                                       ; +0x1f, 0x100230ebf\ncmovnz  ebx, ecx                                                       ; +0x24, 0x100230ec4\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x27, 0x100230ec7\nmov     r14, rax                                                       ; +0x2c, 0x100230ecc\nmov     edi, ebx                                                       ; +0x2f, 0x100230ecf\ncall    GJSearchObject__create_2                                       ; +0x31, 0x100230ed1\nmov     rdi, rax                                                       ; +0x36, 0x100230ed6\ncall    LevelBrowserLayer__scene                                       ; +0x39, 0x100230ed9\nmovss   xmm0, cs:dword_100814FA8                                       ; +0x3e, 0x100230ede\nmov     rdi, rax                                                       ; +0x46, 0x100230ee6\ncall    cocos2d__CCTransitionFade__create_1                            ; +0x49, 0x100230ee9\nmov     rdi, r14                                                       ; +0x4e, 0x100230eee\nmov     rsi, rax                                                       ; +0x51, 0x100230ef1\ncall    cocos2d__CCDirector__pushScene                                 ; +0x54, 0x100230ef4\ncall    GameManager__sharedState                                       ; +0x59, 0x100230ef9\nmov     dword ptr [rax+29Ch], 1                                        ; +0x5e, 0x100230efe\npop     rbx                                                            ; +0x68, 0x100230f08\npop     r14                                                            ; +0x69, 0x100230f09\npop     rbp                                                            ; +0x6b, 0x100230f0b\nretn                                                                   ; +0x6c, 0x100230f0c", "xrefs": ["DailyLevelPage::init @ 0x10023085a"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}