{"type": "func", "start": 5062096, "end": 5062180, "name": "DailyLevelPage::downloadAndCreateNode", "pseudocode": "// \n// DailyLevelPage::downloadAndCreateNode from 0x4d3dd0 to 0x4d3e24 (84 bytes)\n// \n// 2 xrefs:\n// > DailyLevelPage::claimLevelReward @ 0x4d57a4\n// > DailyLevelPage::dailyStatusFinished @ 0x4d5ad4\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::downloadAndCreateNode(DailyLevelPage *a1)\n{\n  GameLevelManager *v2; // r0\n  cocos2d::CCSequence *v3; // r6\n  cocos2d::CCFiniteTimeAction *v4; // r0\n  int v5; // r3\n  cocos2d::CCAction *v6; // r0\n\n  a1->m_downloadStarted = 1;\n  v2 = GameLevelManager::sharedState();\n  GameLevelManager::downloadLevel(v2, a1->m_downloadLevelID, 0, 0);\n  v3 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(0.5);\n  v4 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(a1, DailyLevelPage::createNodeIfLoaded, 0);\n  v6 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v3, v4, 0, v5, DailyLevelPage::createNodeIfLoaded, 0);\n  cocos2d::CCNode::runAction(a1, v6);\n}", "assembly": "; \n; DailyLevelPage::downloadAndCreateNode from 0x4d3dd0 to 0x4d3e24 (84 bytes)\n; \n; 2 xrefs:\n; > DailyLevelPage::claimLevelReward @ 0x4d57a4\n; > DailyLevelPage::dailyStatusFinished @ 0x4d5ad4\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            {R0,R1,R4-R6,LR}                                       ; +0x0, 0x4d3dd0\nMOVS            R3, #1                                                 ; +0x2, 0x4d3dd2\nSTRB.W          R3, [R0,#0x210]                                        ; +0x4, 0x4d3dd4\nMOV             R4, R0                                                 ; +0x8, 0x4d3dd8\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0xa, 0x4d3dda\nMOVS            R2, #0; bool                                           ; +0xe, 0x4d3dde\nLDR.W           R1, [R4,#0x218]; int                                   ; +0x10, 0x4d3de0\nMOV             R3, R2; int                                            ; +0x14, 0x4d3de4\nBL              _ZN16GameLevelManager13downloadLevelEibi; GameLevelManager::downloadLevel(int,bool,int) ; +0x16, 0x4d3de6\nMOV.W           R0, #0x3F000000; this                                  ; +0x1a, 0x4d3dea\nBL              _ZN7cocos2d11CCDelayTime6createEf; cocos2d::CCDelayTime::create(float) ; +0x1e, 0x4d3dee\nLDR             R3, =(_ZN14DailyLevelPage18createNodeIfLoadedEv_ptr - 0x4D3DFC) ; +0x22, 0x4d3df2\nMOVS            R5, #0                                                 ; +0x24, 0x4d3df4\nSTR             R5, [SP,#8+var_4]                                      ; +0x26, 0x4d3df6\nADD             R3, PC; _ZN14DailyLevelPage18createNodeIfLoadedEv_ptr  ; +0x28, 0x4d3df8\nLDR             R3, [R3]; DailyLevelPage::createNodeIfLoaded(void)     ; +0x2a, 0x4d3dfa\nSTR             R3, [SP,#8+var_8]                                      ; +0x2c, 0x4d3dfc\nADD             R3, SP, #8+var_s0                                      ; +0x2e, 0x4d3dfe\nLDMDB.W         R3, {R1,R2}                                            ; +0x30, 0x4d3e00\nMOV             R6, R0                                                 ; +0x34, 0x4d3e04\nMOV             R0, R4                                                 ; +0x36, 0x4d3e06\nBL              _ZN7cocos2d10CCCallFunc6createEPNS_8CCObjectEMS1_FvvE; cocos2d::CCCallFunc::create(cocos2d::CCObject *,void (cocos2d::CCObject::*)(void)) ; +0x38, 0x4d3e08\nMOV             R2, R5                                                 ; +0x3c, 0x4d3e0c\nMOV             R1, R0; cocos2d::CCFiniteTimeAction *                  ; +0x3e, 0x4d3e0e\nMOV             R0, R6; this                                           ; +0x40, 0x4d3e10\nBL              _ZN7cocos2d10CCSequence6createEPNS_18CCFiniteTimeActionEz; cocos2d::CCSequence::create(cocos2d::CCFiniteTimeAction *,...) ; +0x42, 0x4d3e12\nMOV             R1, R0; cocos2d::CCAction *                            ; +0x46, 0x4d3e16\nMOV             R0, R4; this                                           ; +0x48, 0x4d3e18\nADD             SP, SP, #8                                             ; +0x4a, 0x4d3e1a\nPOP.W           {R4-R6,LR}                                             ; +0x4c, 0x4d3e1c\nB.W             _ZN7cocos2d6CCNode9runActionEPNS_8CCActionE; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x50, 0x4d3e20", "xrefs": ["DailyLevelPage::claimLevelReward @ 0x4d57a4", "DailyLevelPage::dailyStatusFinished @ 0x4d5ad4"], "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"}