{"type": "func", "start": 6323436, "end": 6323516, "name": "DailyLevelPage::refreshDailyPage", "pseudocode": "// \n// DailyLevelPage::refreshDailyPage from 0x607cec to 0x607d3c (80 bytes)\n// \n// 1 xrefs:\n// > CreatorLayer::sceneWillResume @ 0x493986\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\nDailyLevelPage *__fastcall DailyLevelPage::refreshDailyPage(DailyLevelPage *this)\n{\n  DailyLevelPage *v1; // r5\n  int v2; // r3\n  DailyLevelPage *v3; // r6\n  GJGameLevel *v4; // r4\n  GameLevelManager *v5; // r0\n  int SavedLevel; // r0\n  int v7; // r7\n\n  v1 = this;\n  v2 = *((_DWORD *)this + 137);\n  if ( v2 )\n  {\n    v3 = (DailyLevelPage *)*(unsigned __int8 *)(v2 + 293);\n    if ( !*(_BYTE *)(v2 + 293) )\n    {\n      v4 = *(GJGameLevel **)(v2 + 268);\n      if ( v4 )\n      {\n        v5 = (GameLevelManager *)GameLevelManager::sharedState(this);\n        SavedLevel = GameLevelManager::getSavedLevel(v5, v4);\n        v7 = *((_DWORD *)v1 + 137);\n        *((_DWORD *)v1 + 137) = v3;\n        if ( SavedLevel )\n          v4 = (GJGameLevel *)SavedLevel;\n        DailyLevelPage::createDailyNode(v1, v4, 1, nullptr, v3);\n        return (DailyLevelPage *)(*(int (__fastcall **)(int))(*(_DWORD *)v7 + 268))(v7);\n      }\n    }\n  }\n  return this;\n}", "assembly": "; \n; DailyLevelPage::refreshDailyPage from 0x607cec to 0x607d3c (80 bytes)\n; \n; 1 xrefs:\n; > CreatorLayer::sceneWillResume @ 0x493986\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-R2,R4-R7,LR}                                       ; +0x0, 0x607cec\nMOV             R5, R0                                                 ; +0x2, 0x607cee\nLDR.W           R3, [R0,#0x224]                                        ; +0x4, 0x607cf0\nCBZ             R3, loc_607D38                                         ; +0x8, 0x607cf4\nLDRB.W          R6, [R3,#0x125]                                        ; +0xa, 0x607cf6\nCBNZ            R6, loc_607D38                                         ; +0xe, 0x607cfa\nLDR.W           R4, [R3,#0x10C]                                        ; +0x10, 0x607cfc\nCBZ             R4, loc_607D38                                         ; +0x14, 0x607d00\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0x16, 0x607d02\nMOV             R1, R4; GJGameLevel *                                  ; +0x1a, 0x607d06\nBL              _ZN16GameLevelManager13getSavedLevelEP11GJGameLevel; GameLevelManager::getSavedLevel(GJGameLevel *) ; +0x1c, 0x607d08\nLDR.W           R7, [R5,#0x224]                                        ; +0x20, 0x607d0c\nSTR             R6, [SP,#0xC+var_C]; DailyLevelPage *                  ; +0x24, 0x607d10\nMOVS            R2, #1; bool                                           ; +0x26, 0x607d12\nSTR.W           R6, [R5,#0x224]                                        ; +0x28, 0x607d14\nMOVS            R3, #0; float                                          ; +0x2c, 0x607d18\nCMP             R0, #0                                                 ; +0x2e, 0x607d1a\nIT NE                                                                  ; +0x30, 0x607d1c\nMOVNE           R4, R0                                                 ; +0x32, 0x607d1e\nMOV             R0, R5; this                                           ; +0x34, 0x607d20\nMOV             R1, R4; GJGameLevel *                                  ; +0x36, 0x607d22\nBL              _ZN14DailyLevelPage15createDailyNodeEP11GJGameLevelbfb; DailyLevelPage::createDailyNode(GJGameLevel *,bool,float,bool) ; +0x38, 0x607d24\nLDR             R3, [R7]                                               ; +0x3c, 0x607d28\nMOV             R0, R7                                                 ; +0x3e, 0x607d2a\nLDR.W           R3, [R3,#0x10C]                                        ; +0x40, 0x607d2c\nADD             SP, SP, #0xC                                           ; +0x44, 0x607d30\nPOP.W           {R4-R7,LR}                                             ; +0x46, 0x607d32\nBX              R3                                                     ; +0x4a, 0x607d36\nADD             SP, SP, #0xC                                           ; +0x4c, 0x607d38\nPOP             {R4-R7,PC}                                             ; +0x4e, 0x607d3a", "xrefs": ["CreatorLayer::sceneWillResume @ 0x493986"], "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"}