{"type": "func", "start": 10940796, "end": 10940924, "name": "DailyLevelPage::refreshDailyPage", "pseudocode": "// \n// DailyLevelPage::refreshDailyPage from 0xa6f17c to 0xa6f1fc (128 bytes)\n// \n// 2 xrefs:\n// > CreatorLayer::sceneWillResume @ 0x7dbd68\n// > <???> @ 0xf7618\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 13:00:22 +0000\n// \n\nDailyLevelPage *__fastcall DailyLevelPage::refreshDailyPage(DailyLevelPage *this)\n{\n  __int64 v1; // x1\n  GJGameLevel *v2; // x20\n  DailyLevelPage *v3; // x19\n  GameLevelManager *v4; // x0\n  GJGameLevel *SavedLevel; // x1\n  __int64 v6; // x21\n\n  v1 = *((_QWORD *)this + 90);\n  if ( v1 )\n  {\n    if ( !*(_BYTE *)(v1 + 369) )\n    {\n      v2 = *(GJGameLevel **)(v1 + 328);\n      if ( v2 )\n      {\n        v3 = this;\n        v4 = (GameLevelManager *)GameLevelManager::sharedState(this);\n        SavedLevel = (GJGameLevel *)GameLevelManager::getSavedLevel(v4, v2);\n        v6 = *((_QWORD *)v3 + 90);\n        if ( !SavedLevel )\n          SavedLevel = v2;\n        *((_QWORD *)v3 + 90) = 0;\n        DailyLevelPage::createDailyNode(v3, SavedLevel, 1u, 0.0, 0);\n        return (DailyLevelPage *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 536LL))(v6);\n      }\n    }\n  }\n  return this;\n}", "assembly": "; \n; DailyLevelPage::refreshDailyPage from 0xa6f17c to 0xa6f1fc (128 bytes)\n; \n; 2 xrefs:\n; > CreatorLayer::sceneWillResume @ 0x7dbd68\n; > <???> @ 0xf7618\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 13:00:22 +0000\n; \nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0xa6f17c\nMOV             X29, SP                                                ; +0x4, 0xa6f180\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x8, 0xa6f184\nSTR             X21, [SP,#0x30+var_10]                                 ; +0xc, 0xa6f188\nLDR             X1, [X0,#0x2D0]                                        ; +0x10, 0xa6f18c\nCBZ             X1, loc_A6F1EC                                         ; +0x14, 0xa6f190\nLDRB            W2, [X1,#0x171]                                        ; +0x18, 0xa6f194\nCBNZ            W2, loc_A6F1EC                                         ; +0x1c, 0xa6f198\nLDR             X20, [X1,#0x148]                                       ; +0x20, 0xa6f19c\nCBZ             X20, loc_A6F1EC                                        ; +0x24, 0xa6f1a0\nMOV             X19, X0                                                ; +0x28, 0xa6f1a4\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0x2c, 0xa6f1a8\nMOV             X1, X20; GJGameLevel *                                 ; +0x30, 0xa6f1ac\nBL              _ZN16GameLevelManager13getSavedLevelEP11GJGameLevel; GameLevelManager::getSavedLevel(GJGameLevel *) ; +0x34, 0xa6f1b0\nCMP             X0, XZR                                                ; +0x38, 0xa6f1b4\nFMOV            S0, WZR; float                                         ; +0x3c, 0xa6f1b8\nMOV             X1, X0                                                 ; +0x40, 0xa6f1bc\nLDR             X21, [X19,#0x2D0]                                      ; +0x44, 0xa6f1c0\nCSEL            X1, X1, X20, NE; GJGameLevel *                         ; +0x48, 0xa6f1c4\nSTR             XZR, [X19,#0x2D0]                                      ; +0x4c, 0xa6f1c8\nMOV             X0, X19; this                                          ; +0x50, 0xa6f1cc\nMOV             W2, #1; bool                                           ; +0x54, 0xa6f1d0\nMOV             W3, #0; bool                                           ; +0x58, 0xa6f1d4\nBL              _ZN14DailyLevelPage15createDailyNodeEP11GJGameLevelbfb; DailyLevelPage::createDailyNode(GJGameLevel *,bool,float,bool) ; +0x5c, 0xa6f1d8\nLDR             X1, [X21]                                              ; +0x60, 0xa6f1dc\nMOV             X0, X21                                                ; +0x64, 0xa6f1e0\nLDR             X1, [X1,#0x218]                                        ; +0x68, 0xa6f1e4\nBLR             X1                                                     ; +0x6c, 0xa6f1e8\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x70, 0xa6f1ec\nLDR             X21, [SP,#0x30+var_10]                                 ; +0x74, 0xa6f1f0\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x78, 0xa6f1f4\nRET                                                                    ; +0x7c, 0xa6f1f8", "xrefs": ["CreatorLayer::sceneWillResume @ 0x7dbd68", "<???> @ 0xf7618"], "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"}