{"type": "func", "start": 9512944, "end": 9513056, "name": "DailyLevelPage::onTheSafe", "pseudocode": "// \n// DailyLevelPage::onTheSafe from 0x9127f0 to 0x912860 (112 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0xb27d0\n// > DailyLevelPage::init @ 0x914b64\n// > <???> @ 0x122e310\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 DailyLevelPage::onTheSafe(DailyLevelPage *a1, cocos2d::CCObject *a2)\n{\n  GJTimedLevelType m_type; // w0\n  char *v3; // x19\n  cocos2d::CCDirector *v4; // x20\n  GJSearchObject *v5; // x0\n  cocos2d::CCScene *v6; // x0\n  cocos2d::CCTransitionFade *v7; // x0\n\n  m_type = a1->m_type;\n  if ( m_type == 1 )\n  {\n    LODWORD(v3) = 22;\n  }\n  else if ( m_type == Event )\n  {\n    LODWORD(v3) = 23;\n  }\n  else\n  {\n    v3 = (char *)&dword_14 + 1;\n  }\n  v4 = cocos2d::CCDirector::sharedDirector();\n  v5 = (GJSearchObject *)GJSearchObject::create((int)v3);\n  v6 = LevelBrowserLayer::scene(v5);\n  v7 = cocos2d::CCTransitionFade::create(0.5, v6);\n  cocos2d::CCDirector::pushScene(v4, v7);\n  GameManager::sharedState()->m_sceneEnum = 1;\n}", "assembly": "; \n; DailyLevelPage::onTheSafe from 0x9127f0 to 0x912860 (112 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0xb27d0\n; > DailyLevelPage::init @ 0x914b64\n; > <???> @ 0x122e310\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\nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x9127f0\nMOV             X29, SP                                                ; +0x4, 0x9127f4\nLDR             W0, [X0,#0x2BC]                                        ; +0x8, 0x9127f8\nSTP             X19, X20, [SP,#var_s10]                                ; +0xc, 0x9127fc\nCMP             W0, #1                                                 ; +0x10, 0x912800\nB.EQ            loc_912858                                             ; +0x14, 0x912804\nCMP             W0, #2                                                 ; +0x18, 0x912808\nMOV             W19, #0x17                                             ; +0x1c, 0x91280c\nMOV             W0, #(dword_14+1); this                                ; +0x20, 0x912810\nCSEL            W19, W0, W19, NE                                       ; +0x24, 0x912814\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x28, 0x912818\nMOV             X20, X0                                                ; +0x2c, 0x91281c\nMOV             W0, W19                                                ; +0x30, 0x912820\nBL              _ZN14GJSearchObject6createE10SearchType; GJSearchObject::create(SearchType) ; +0x34, 0x912824\nBL              _ZN17LevelBrowserLayer5sceneEP14GJSearchObject; LevelBrowserLayer::scene(GJSearchObject *) ; +0x38, 0x912828\nFMOV            S0, #0.5; float                                        ; +0x3c, 0x91282c\nBL              _ZN7cocos2d16CCTransitionFade6createEfPNS_7CCSceneE; cocos2d::CCTransitionFade::create(float,cocos2d::CCScene *) ; +0x40, 0x912830\nMOV             X1, X0; cocos2d::CCScene *                             ; +0x44, 0x912834\nMOV             X0, X20; this                                          ; +0x48, 0x912838\nBL              _ZN7cocos2d10CCDirector9pushSceneEPNS_7CCSceneE; cocos2d::CCDirector::pushScene(cocos2d::CCScene *) ; +0x4c, 0x91283c\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x50, 0x912840\nMOV             W1, #1                                                 ; +0x54, 0x912844\nSTR             W1, [X0,#0x25C]                                        ; +0x58, 0x912848\nLDP             X19, X20, [SP,#var_s10]                                ; +0x5c, 0x91284c\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x60, 0x912850\nRET                                                                    ; +0x64, 0x912854\nMOV             W19, #0x16                                             ; +0x68, 0x912858\nB               loc_912818                                             ; +0x6c, 0x91285c", "xrefs": ["<???> @ 0xb27d0", "DailyLevelPage::init @ 0x914b64", "<???> @ 0x122e310"], "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"}