{"type": "func", "start": 4297392208, "end": 4297392324, "name": "DailyLevelPage::downloadAndCreateNode", "pseudocode": "// \n// DailyLevelPage::downloadAndCreateNode from 0x100250050 to 0x1002500c4 (116 bytes)\n// \n// 2 xrefs:\n// > DailyLevelPage::dailyStatusFinished @ 0x10024ff18\n// > DailyLevelPage::claimLevelReward @ 0x100250880\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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:01:31 +0000\n// \n\ndouble __fastcall DailyLevelPage::downloadAndCreateNode(__int64 a1)\n{\n  __int64 v2; // x0\n  float *v3; // x20\n  char v4; // w0\n  __int64 v5; // x1\n  __int64 v6; // x2\n  __int64 v7; // x3\n  __int64 v8; // x4\n  __int64 v9; // x5\n  __int64 v10; // x6\n  __int64 v11; // x7\n  __int64 v12; // x1\n  double result; // d0\n\n  *(_BYTE *)(a1 + 728) = 1;\n  v2 = GameLevelManager::sharedState();\n  GameLevelManager::downloadLevel(v2, *(unsigned int *)(a1 + 736), 0, 0);\n  v3 = cocos2d::CCDelayTime::create(0.5);\n  v4 = (unsigned __int8)cocos2d::CCCallFunc::create(a1, (__int64)DailyLevelPage::createNodeIfLoaded, 0);\n  v12 = sub_10021D420((__int64)v3, v5, v6, v7, v8, v9, v10, v11, v4);\n  *(_QWORD *)&result = cocos2d::CCNode::runAction(a1, v12).n128_u64[0];\n  return result;\n}", "assembly": "; \n; DailyLevelPage::downloadAndCreateNode from 0x100250050 to 0x1002500c4 (116 bytes)\n; \n; 2 xrefs:\n; > DailyLevelPage::dailyStatusFinished @ 0x10024ff18\n; > DailyLevelPage::claimLevelReward @ 0x100250880\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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:01:31 +0000\n; \nSUB             SP, SP, #0x30                                          ; +0x0, 0x100250050\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x100250054\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x100250058\nADD             X29, SP, #0x20                                         ; +0xc, 0x10025005c\nMOV             X19, X0                                                ; +0x10, 0x100250060\nMOV             W8, #1                                                 ; +0x14, 0x100250064\nSTRB            W8, [X0,#0x2D8]                                        ; +0x18, 0x100250068\nBL              GameLevelManager__sharedState                          ; +0x1c, 0x10025006c\nLDR             W1, [X19,#0x2E0]                                       ; +0x20, 0x100250070\nMOV             W2, #0                                                 ; +0x24, 0x100250074\nMOV             W3, #0                                                 ; +0x28, 0x100250078\nBL              GameLevelManager__downloadLevel                        ; +0x2c, 0x10025007c\nFMOV            S0, #0.5                                               ; +0x30, 0x100250080\nBL              cocos2d__CCDelayTime__create                           ; +0x34, 0x100250084\nMOV             X20, X0                                                ; +0x38, 0x100250088\nADRL            X1, DailyLevelPage__createNodeIfLoaded                 ; +0x3c, 0x10025008c\nMOV             X0, X19                                                ; +0x44, 0x100250094\nMOV             X2, #0                                                 ; +0x48, 0x100250098\nBL              cocos2d__CCCallFunc__create                            ; +0x4c, 0x10025009c\nSTP             X0, XZR, [SP,#0x20+var_20]                             ; +0x50, 0x1002500a0\nMOV             X0, X20                                                ; +0x54, 0x1002500a4\nBL              sub_10021D420                                          ; +0x58, 0x1002500a8\nMOV             X1, X0                                                 ; +0x5c, 0x1002500ac\nMOV             X0, X19                                                ; +0x60, 0x1002500b0\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x64, 0x1002500b4\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x68, 0x1002500b8\nADD             SP, SP, #0x30 ; '0'                                    ; +0x6c, 0x1002500bc\nB               cocos2d__CCNode__runAction                             ; +0x70, 0x1002500c0", "xrefs": ["DailyLevelPage::dailyStatusFinished @ 0x10024ff18", "DailyLevelPage::claimLevelReward @ 0x100250880"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}