{"type": "func", "start": 6319800, "end": 6319884, "name": "DailyLevelPage::downloadAndCreateNode", "pseudocode": "// \n// DailyLevelPage::downloadAndCreateNode from 0x606eb8 to 0x606f0c (84 bytes)\n// \n// 2 xrefs:\n// > DailyLevelPage::claimLevelReward @ 0x607cc0\n// > DailyLevelPage::dailyStatusFinished @ 0x609062\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:54:45 +0000\n// \n\nint __fastcall DailyLevelPage::downloadAndCreateNode(DailyLevelPage *this)\n{\n  GameLevelManager *v2; // r0\n  float v3; // r1\n  cocos2d::CCSequence *v4; // r6\n  cocos2d::CCFiniteTimeAction *v5; // r0\n  int v6; // r3\n  cocos2d::CCAction *v7; // r0\n\n  *((_BYTE *)this + 552) = 1;\n  v2 = (GameLevelManager *)GameLevelManager::sharedState(this);\n  GameLevelManager::downloadLevel(v2, *((const char **)this + 140), 0, nullptr);\n  v4 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create((cocos2d::CCDelayTime *)0x3F000000, v3);\n  v5 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(this, DailyLevelPage::createNodeIfLoaded, 0);\n  v7 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v4, v5, 0, v6, DailyLevelPage::createNodeIfLoaded, 0);\n  return cocos2d::CCNode::runAction(this, v7);\n}", "assembly": "; \n; DailyLevelPage::downloadAndCreateNode from 0x606eb8 to 0x606f0c (84 bytes)\n; \n; 2 xrefs:\n; > DailyLevelPage::claimLevelReward @ 0x607cc0\n; > DailyLevelPage::dailyStatusFinished @ 0x609062\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:54:45 +0000\n; \nPUSH            {R0,R1,R4-R6,LR}                                       ; +0x0, 0x606eb8\nMOVS            R3, #1                                                 ; +0x2, 0x606eba\nSTRB.W          R3, [R0,#0x228]                                        ; +0x4, 0x606ebc\nMOV             R4, R0                                                 ; +0x8, 0x606ec0\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0xa, 0x606ec2\nMOVS            R2, #0; bool                                           ; +0xe, 0x606ec6\nLDR.W           R1, [R4,#0x230]; int                                   ; +0x10, 0x606ec8\nMOV             R3, R2; int                                            ; +0x14, 0x606ecc\nBL              _ZN16GameLevelManager13downloadLevelEibi; GameLevelManager::downloadLevel(int,bool,int) ; +0x16, 0x606ece\nMOV.W           R0, #0x3F000000; this                                  ; +0x1a, 0x606ed2\nBL              _ZN7cocos2d11CCDelayTime6createEf; cocos2d::CCDelayTime::create(float) ; +0x1e, 0x606ed6\nLDR             R3, =(_ZN14DailyLevelPage18createNodeIfLoadedEv_ptr - 0x606EE4) ; +0x22, 0x606eda\nMOVS            R5, #0                                                 ; +0x24, 0x606edc\nSTR             R5, [SP,#8+var_4]                                      ; +0x26, 0x606ede\nADD             R3, PC; _ZN14DailyLevelPage18createNodeIfLoadedEv_ptr  ; +0x28, 0x606ee0\nLDR             R3, [R3]; DailyLevelPage::createNodeIfLoaded(void)     ; +0x2a, 0x606ee2\nSTR             R3, [SP,#8+var_8]                                      ; +0x2c, 0x606ee4\nADD             R3, SP, #8+var_s0                                      ; +0x2e, 0x606ee6\nLDMDB.W         R3, {R1,R2}                                            ; +0x30, 0x606ee8\nMOV             R6, R0                                                 ; +0x34, 0x606eec\nMOV             R0, R4                                                 ; +0x36, 0x606eee\nBL              _ZN7cocos2d10CCCallFunc6createEPNS_8CCObjectEMS1_FvvE; cocos2d::CCCallFunc::create(cocos2d::CCObject *,void (cocos2d::CCObject::*)(void)) ; +0x38, 0x606ef0\nMOV             R2, R5                                                 ; +0x3c, 0x606ef4\nMOV             R1, R0; cocos2d::CCFiniteTimeAction *                  ; +0x3e, 0x606ef6\nMOV             R0, R6; this                                           ; +0x40, 0x606ef8\nBL              _ZN7cocos2d10CCSequence6createEPNS_18CCFiniteTimeActionEz; cocos2d::CCSequence::create(cocos2d::CCFiniteTimeAction *,...) ; +0x42, 0x606efa\nMOV             R1, R0; cocos2d::CCAction *                            ; +0x46, 0x606efe\nMOV             R0, R4; this                                           ; +0x48, 0x606f00\nADD             SP, SP, #8                                             ; +0x4a, 0x606f02\nPOP.W           {R4-R6,LR}                                             ; +0x4c, 0x606f04\nB.W             _ZN7cocos2d6CCNode9runActionEPNS_8CCActionE; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x50, 0x606f08", "xrefs": ["DailyLevelPage::claimLevelReward @ 0x607cc0", "DailyLevelPage::dailyStatusFinished @ 0x609062"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}