{"type": "func", "start": 5061336, "end": 5061404, "name": "DailyLevelPage::onTheSafe", "pseudocode": "// \n// DailyLevelPage::onTheSafe from 0x4d3ad8 to 0x4d3b1c (68 bytes)\n// \n// 0 xrefs:\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; // r3\n  int v3; // r4\n  cocos2d::CCDirector *v4; // r5\n  GJSearchObject *v5; // r0\n  cocos2d::CCScene *v6; // r0\n  cocos2d::CCTransitionFade *v7; // r0\n\n  m_type = a1->m_type;\n  if ( m_type == 1 )\n  {\n    v3 = 22;\n  }\n  else if ( m_type == Event )\n  {\n    v3 = 23;\n  }\n  else\n  {\n    v3 = 21;\n  }\n  v4 = cocos2d::CCDirector::sharedDirector();\n  v5 = (GJSearchObject *)GJSearchObject::create(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 0x4d3ad8 to 0x4d3b1c (68 bytes)\n; \n; 0 xrefs:\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            {R3-R5,LR}                                             ; +0x0, 0x4d3ad8\nLDR.W           R3, [R0,#0x214]                                        ; +0x2, 0x4d3ada\nCMP             R3, #1                                                 ; +0x6, 0x4d3ade\nBEQ             loc_4D3AEC                                             ; +0x8, 0x4d3ae0\nCMP             R3, #2                                                 ; +0xa, 0x4d3ae2\nITE NE                                                                 ; +0xc, 0x4d3ae4\nMOVNE           R4, #0x15                                              ; +0xe, 0x4d3ae6\nMOVEQ           R4, #0x17                                              ; +0x10, 0x4d3ae8\nB               loc_4D3AEE                                             ; +0x12, 0x4d3aea\nMOVS            R4, #0x16                                              ; +0x14, 0x4d3aec\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x16, 0x4d3aee\nMOV             R5, R0                                                 ; +0x1a, 0x4d3af2\nMOV             R0, R4                                                 ; +0x1c, 0x4d3af4\nBL              _ZN14GJSearchObject6createE10SearchType; GJSearchObject::create(SearchType) ; +0x1e, 0x4d3af6\nBL              _ZN17LevelBrowserLayer5sceneEP14GJSearchObject; LevelBrowserLayer::scene(GJSearchObject *) ; +0x22, 0x4d3afa\nMOV             R1, R0; float                                          ; +0x26, 0x4d3afe\nMOV.W           R0, #0x3F000000; this                                  ; +0x28, 0x4d3b00\nBL              _ZN7cocos2d16CCTransitionFade6createEfPNS_7CCSceneE; cocos2d::CCTransitionFade::create(float,cocos2d::CCScene *) ; +0x2c, 0x4d3b04\nMOV             R1, R0; cocos2d::CCScene *                             ; +0x30, 0x4d3b08\nMOV             R0, R5; this                                           ; +0x32, 0x4d3b0a\nBL              _ZN7cocos2d10CCDirector9pushSceneEPNS_7CCSceneE; cocos2d::CCDirector::pushScene(cocos2d::CCScene *) ; +0x34, 0x4d3b0c\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x38, 0x4d3b10\nMOVS            R3, #1                                                 ; +0x3c, 0x4d3b14\nSTR.W           R3, [R0,#0x1C4]                                        ; +0x3e, 0x4d3b16\nPOP             {R3-R5,PC}                                             ; +0x42, 0x4d3b1a", "xrefs": [], "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"}