{"type": "func", "start": 4297270800, "end": 4297270941, "name": "DailyLevelPage::refreshDailyPage", "pseudocode": "// \n// DailyLevelPage::refreshDailyPage from 0x100232610 to 0x10023269d (141 bytes)\n// \n// 2 xrefs:\n// > CreatorLayer::sceneWillResume @ 0x100299964\n// > sub_100299980 @ 0x1002999a4\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 __fastcall DailyLevelPage::refreshDailyPage(DailyLevelPage *a1)\n{\n  DailyLevelNode *m_dailyNode; // rax\n  GJGameLevel *m_level; // rbx\n  GameLevelManager *v3; // rax\n  GJGameLevel *SavedLevel_1; // rax\n  DailyLevelNode *v5; // r15\n\n  m_dailyNode = a1->m_dailyNode;\n  if ( m_dailyNode )\n  {\n    if ( !m_dailyNode->m_needsDownloading )\n    {\n      m_level = m_dailyNode->m_level;\n      if ( m_level )\n      {\n        v3 = GameLevelManager::sharedState();\n        SavedLevel_1 = GameLevelManager::getSavedLevel_1(v3, m_level);\n        if ( SavedLevel_1 )\n          m_level = SavedLevel_1;\n        v5 = a1->m_dailyNode;\n        a1->m_dailyNode = nullptr;\n        DailyLevelPage::createDailyNode(a1, m_level, 1, 0.0, 0);\n        ((void (__fastcall *)(DailyLevelNode *))v5->removeMeAndCleanup)(v5);\n      }\n    }\n  }\n}", "assembly": "; \n; DailyLevelPage::refreshDailyPage from 0x100232610 to 0x10023269d (141 bytes)\n; \n; 2 xrefs:\n; > CreatorLayer::sceneWillResume @ 0x100299964\n; > sub_100299980 @ 0x1002999a4\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    rbp                                                            ; +0x0, 0x100232610\nmov     rbp, rsp                                                       ; +0x1, 0x100232611\npush    r15                                                            ; +0x4, 0x100232614\npush    r14                                                            ; +0x6, 0x100232616\npush    rbx                                                            ; +0x8, 0x100232618\npush    rax                                                            ; +0x9, 0x100232619\nmov     rax, [rdi+2B0h]                                                ; +0xa, 0x10023261a\ntest    rax, rax                                                       ; +0x11, 0x100232621\njz      short loc_100232692                                            ; +0x14, 0x100232624\ncmp     byte ptr [rax+171h], 0                                         ; +0x16, 0x100232626\njnz     short loc_100232692                                            ; +0x1d, 0x10023262d\nmov     rbx, [rax+148h]                                                ; +0x1f, 0x10023262f\ntest    rbx, rbx                                                       ; +0x26, 0x100232636\njz      short loc_100232692                                            ; +0x29, 0x100232639\nmov     r14, rdi                                                       ; +0x2b, 0x10023263b\ncall    GameLevelManager__sharedState                                  ; +0x2e, 0x10023263e\nmov     rdi, rax                                                       ; +0x33, 0x100232643\nmov     rsi, rbx                                                       ; +0x36, 0x100232646\ncall    GameLevelManager__getSavedLevel_1                              ; +0x39, 0x100232649\ntest    rax, rax                                                       ; +0x3e, 0x10023264e\ncmovnz  rbx, rax                                                       ; +0x41, 0x100232651\nmov     r15, [r14+2B0h]                                                ; +0x45, 0x100232655\nmov     qword ptr [r14+2B0h], 0                                        ; +0x4c, 0x10023265c\nxorps   xmm0, xmm0                                                     ; +0x57, 0x100232667\nmov     rdi, r14                                                       ; +0x5a, 0x10023266a\nmov     rsi, rbx                                                       ; +0x5d, 0x10023266d\nmov     edx, 1                                                         ; +0x60, 0x100232670\nxor     ecx, ecx                                                       ; +0x65, 0x100232675\ncall    DailyLevelPage__createDailyNode                                ; +0x67, 0x100232677\nmov     rax, [r15]                                                     ; +0x6c, 0x10023267c\nmov     rdi, r15                                                       ; +0x6f, 0x10023267f\nadd     rsp, 8                                                         ; +0x72, 0x100232682\npop     rbx                                                            ; +0x76, 0x100232686\npop     r14                                                            ; +0x77, 0x100232687\npop     r15                                                            ; +0x79, 0x100232689\npop     rbp                                                            ; +0x7b, 0x10023268b\njmp     qword ptr [rax+208h]                                           ; +0x7c, 0x10023268c\nadd     rsp, 8                                                         ; +0x82, 0x100232692\npop     rbx                                                            ; +0x86, 0x100232696\npop     r14                                                            ; +0x87, 0x100232697\npop     r15                                                            ; +0x89, 0x100232699\npop     rbp                                                            ; +0x8b, 0x10023269b\nretn                                                                   ; +0x8c, 0x10023269c", "xrefs": ["CreatorLayer::sceneWillResume @ 0x100299964", "sub_100299980 @ 0x1002999a4"], "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"}