{"type": "func", "start": 5063220, "end": 5063384, "name": "DailyLevelPage::skipDailyLevel", "pseudocode": "// \n// DailyLevelPage::skipDailyLevel from 0x4d4234 to 0x4d42d8 (164 bytes)\n// \n// 1 xrefs:\n// > DailyLevelNode::FLAlert_Clicked @ 0x4d42ee\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::skipDailyLevel(DailyLevelPage *a1, DailyLevelNode *a2, GJGameLevel *a3)\n{\n  int v5; // r5\n  GameLevelManager *v6; // r0\n  GameLevelManager *v7; // r0\n  int ActiveDailyID; // r5\n  GameLevelManager *v9; // r0\n  GameLevelManager *v10; // r0\n  cocos2d::CCSequence *v11; // r6\n  cocos2d::CCFiniteTimeAction *v12; // r0\n  int v13; // r3\n  cocos2d::CCAction *v14; // r0\n\n  if ( a2 == a1->m_dailyNode )\n  {\n    v5 = a3->m_dailyID.random - a3->m_dailyID.seed;\n    v6 = GameLevelManager::sharedState();\n    if ( v5 == GameLevelManager::getActiveDailyID(v6, a1->m_type) )\n    {\n      v7 = GameLevelManager::sharedState();\n      ActiveDailyID = GameLevelManager::getActiveDailyID(v7, a1->m_type);\n      v9 = GameLevelManager::sharedState();\n      if ( ActiveDailyID < GameLevelManager::getDailyID(v9, a1->m_type) )\n      {\n        DailyLevelPage::exitDailyNode(a1, a2, 0.0);\n        a1->m_downloadStarted = 1;\n        v10 = GameLevelManager::sharedState();\n        GameLevelManager::downloadLevel(v10, a1->m_downloadLevelID, 0, 0);\n        v11 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(0.5);\n        v12 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(a1, DailyLevelPage::createNodeIfLoaded, 0);\n        v14 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v11, v12, 0, v13, DailyLevelPage::createNodeIfLoaded, 0);\n        cocos2d::CCNode::runAction(a1, v14);\n      }\n    }\n  }\n}", "assembly": "; \n; DailyLevelPage::skipDailyLevel from 0x4d4234 to 0x4d42d8 (164 bytes)\n; \n; 1 xrefs:\n; > DailyLevelNode::FLAlert_Clicked @ 0x4d42ee\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\nLDR.W           R3, [R0,#0x20C]                                        ; +0x0, 0x4d4234\nPUSH            {R0,R1,R4-R6,LR}                                       ; +0x4, 0x4d4238\nCMP             R1, R3                                                 ; +0x6, 0x4d423a\nMOV             R4, R0                                                 ; +0x8, 0x4d423c\nMOV             R6, R1                                                 ; +0xa, 0x4d423e\nBNE             loc_4D42D4                                             ; +0xc, 0x4d4240\nLDR.W           R3, [R2,#0x230]                                        ; +0xe, 0x4d4242\nLDR.W           R5, [R2,#0x234]                                        ; +0x12, 0x4d4246\nSUBS            R5, R3, R5                                             ; +0x16, 0x4d424a\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0x18, 0x4d424c\nLDR.W           R1, [R4,#0x214]                                        ; +0x1c, 0x4d4250\nBL              _ZN16GameLevelManager16getActiveDailyIDE16GJTimedLevelType; GameLevelManager::getActiveDailyID(GJTimedLevelType) ; +0x20, 0x4d4254\nCMP             R5, R0                                                 ; +0x24, 0x4d4258\nBNE             loc_4D42D4                                             ; +0x26, 0x4d425a\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0x28, 0x4d425c\nLDR.W           R1, [R4,#0x214]                                        ; +0x2c, 0x4d4260\nBL              _ZN16GameLevelManager16getActiveDailyIDE16GJTimedLevelType; GameLevelManager::getActiveDailyID(GJTimedLevelType) ; +0x30, 0x4d4264\nMOV             R5, R0                                                 ; +0x34, 0x4d4268\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0x36, 0x4d426a\nLDR.W           R1, [R4,#0x214]                                        ; +0x3a, 0x4d426e\nBL              _ZN16GameLevelManager10getDailyIDE16GJTimedLevelType; GameLevelManager::getDailyID(GJTimedLevelType) ; +0x3e, 0x4d4272\nCMP             R5, R0                                                 ; +0x42, 0x4d4276\nBGE             loc_4D42D4                                             ; +0x44, 0x4d4278\nMOV             R1, R6; DailyLevelNode *                               ; +0x46, 0x4d427a\nMOV             R0, R4; this                                           ; +0x48, 0x4d427c\nMOVS            R2, #0; cocos2d::CCDelayTime *                         ; +0x4a, 0x4d427e\nMOVS            R5, #0                                                 ; +0x4c, 0x4d4280\nBL              _ZN14DailyLevelPage13exitDailyNodeEP14DailyLevelNodef; DailyLevelPage::exitDailyNode(DailyLevelNode *,float) ; +0x4e, 0x4d4282\nMOVS            R3, #1                                                 ; +0x52, 0x4d4286\nSTRB.W          R3, [R4,#0x210]                                        ; +0x54, 0x4d4288\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0x58, 0x4d428c\nMOVS            R2, #0; bool                                           ; +0x5c, 0x4d4290\nLDR.W           R1, [R4,#0x218]; int                                   ; +0x5e, 0x4d4292\nMOV             R3, R2; int                                            ; +0x62, 0x4d4296\nBL              _ZN16GameLevelManager13downloadLevelEibi; GameLevelManager::downloadLevel(int,bool,int) ; +0x64, 0x4d4298\nMOV.W           R0, #0x3F000000; this                                  ; +0x68, 0x4d429c\nBL              _ZN7cocos2d11CCDelayTime6createEf; cocos2d::CCDelayTime::create(float) ; +0x6c, 0x4d42a0\nLDR             R3, =(_ZN14DailyLevelPage18createNodeIfLoadedEv_ptr - 0x4D42AC) ; +0x70, 0x4d42a4\nSTR             R5, [SP,#8+var_4]                                      ; +0x72, 0x4d42a6\nADD             R3, PC; _ZN14DailyLevelPage18createNodeIfLoadedEv_ptr  ; +0x74, 0x4d42a8\nLDR             R3, [R3]; DailyLevelPage::createNodeIfLoaded(void)     ; +0x76, 0x4d42aa\nSTR             R3, [SP,#8+var_8]                                      ; +0x78, 0x4d42ac\nADD             R3, SP, #8+var_s0                                      ; +0x7a, 0x4d42ae\nLDMDB.W         R3, {R1,R2}                                            ; +0x7c, 0x4d42b0\nMOV             R6, R0                                                 ; +0x80, 0x4d42b4\nMOV             R0, R4                                                 ; +0x82, 0x4d42b6\nBL              _ZN7cocos2d10CCCallFunc6createEPNS_8CCObjectEMS1_FvvE; cocos2d::CCCallFunc::create(cocos2d::CCObject *,void (cocos2d::CCObject::*)(void)) ; +0x84, 0x4d42b8\nMOV             R2, R5                                                 ; +0x88, 0x4d42bc\nMOV             R1, R0; cocos2d::CCFiniteTimeAction *                  ; +0x8a, 0x4d42be\nMOV             R0, R6; this                                           ; +0x8c, 0x4d42c0\nBL              _ZN7cocos2d10CCSequence6createEPNS_18CCFiniteTimeActionEz; cocos2d::CCSequence::create(cocos2d::CCFiniteTimeAction *,...) ; +0x8e, 0x4d42c2\nMOV             R1, R0; cocos2d::CCAction *                            ; +0x92, 0x4d42c6\nMOV             R0, R4; this                                           ; +0x94, 0x4d42c8\nADD             SP, SP, #8                                             ; +0x96, 0x4d42ca\nPOP.W           {R4-R6,LR}                                             ; +0x98, 0x4d42cc\nB.W             _ZN7cocos2d6CCNode9runActionEPNS_8CCActionE; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x9c, 0x4d42d0\nADD             SP, SP, #8                                             ; +0xa0, 0x4d42d4\nPOP             {R4-R6,PC}                                             ; +0xa2, 0x4d42d6", "xrefs": ["DailyLevelNode::FLAlert_Clicked @ 0x4d42ee"], "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"}