{"type": "func", "start": 4297157728, "end": 4297157869, "name": "DailyLevelPage::refreshDailyPage", "pseudocode": "// \n// DailyLevelPage::refreshDailyPage from 0x100216c60 to 0x100216ced (141 bytes)\n// \n// 1 xrefs:\n// > CreatorLayer::sceneWillResume @ 0x1002848eb\n// \n// This function is hookable on this platform (idp: pc, 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 12:27:00 +0000\n// \n\n__int64 __fastcall DailyLevelPage::refreshDailyPage(__int64 a1, double a2)\n{\n  __int64 result; // rax\n  __int64 v3; // rbx\n  __int64 v4; // rax\n  __int64 SavedLevel_1; // rax\n  __int64 v6; // r15\n\n  result = *(_QWORD *)(a1 + 720);\n  if ( result )\n  {\n    if ( !*(_BYTE *)(result + 369) )\n    {\n      v3 = *(_QWORD *)(result + 328);\n      if ( v3 )\n      {\n        v4 = GameLevelManager::sharedState(a2);\n        SavedLevel_1 = GameLevelManager::getSavedLevel_1(v4, v3);\n        if ( SavedLevel_1 )\n          v3 = SavedLevel_1;\n        v6 = *(_QWORD *)(a1 + 720);\n        *(_QWORD *)(a1 + 720) = 0;\n        DailyLevelPage::createDailyNode(a1, v3, 1, 0, 0.0);\n        return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 536LL))(v6);\n      }\n    }\n  }\n  return result;\n}", "assembly": "; \n; DailyLevelPage::refreshDailyPage from 0x100216c60 to 0x100216ced (141 bytes)\n; \n; 1 xrefs:\n; > CreatorLayer::sceneWillResume @ 0x1002848eb\n; \n; This function is hookable on this platform (idp: pc, 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 12:27:00 +0000\n; \npush    rbp                                                            ; +0x0, 0x100216c60\nmov     rbp, rsp                                                       ; +0x1, 0x100216c61\npush    r15                                                            ; +0x4, 0x100216c64\npush    r14                                                            ; +0x6, 0x100216c66\npush    rbx                                                            ; +0x8, 0x100216c68\npush    rax                                                            ; +0x9, 0x100216c69\nmov     rax, [rdi+2D0h]                                                ; +0xa, 0x100216c6a\ntest    rax, rax                                                       ; +0x11, 0x100216c71\njz      short loc_100216CE2                                            ; +0x14, 0x100216c74\ncmp     byte ptr [rax+171h], 0                                         ; +0x16, 0x100216c76\njnz     short loc_100216CE2                                            ; +0x1d, 0x100216c7d\nmov     rbx, [rax+148h]                                                ; +0x1f, 0x100216c7f\ntest    rbx, rbx                                                       ; +0x26, 0x100216c86\njz      short loc_100216CE2                                            ; +0x29, 0x100216c89\nmov     r14, rdi                                                       ; +0x2b, 0x100216c8b\ncall    GameLevelManager__sharedState                                  ; +0x2e, 0x100216c8e\nmov     rdi, rax                                                       ; +0x33, 0x100216c93\nmov     rsi, rbx                                                       ; +0x36, 0x100216c96\ncall    GameLevelManager__getSavedLevel_1                              ; +0x39, 0x100216c99\ntest    rax, rax                                                       ; +0x3e, 0x100216c9e\ncmovnz  rbx, rax                                                       ; +0x41, 0x100216ca1\nmov     r15, [r14+2D0h]                                                ; +0x45, 0x100216ca5\nmov     qword ptr [r14+2D0h], 0                                        ; +0x4c, 0x100216cac\nxorps   xmm0, xmm0                                                     ; +0x57, 0x100216cb7\nmov     rdi, r14                                                       ; +0x5a, 0x100216cba\nmov     rsi, rbx                                                       ; +0x5d, 0x100216cbd\nmov     edx, 1                                                         ; +0x60, 0x100216cc0\nxor     ecx, ecx                                                       ; +0x65, 0x100216cc5\ncall    DailyLevelPage__createDailyNode                                ; +0x67, 0x100216cc7\nmov     rax, [r15]                                                     ; +0x6c, 0x100216ccc\nmov     rdi, r15                                                       ; +0x6f, 0x100216ccf\nadd     rsp, 8                                                         ; +0x72, 0x100216cd2\npop     rbx                                                            ; +0x76, 0x100216cd6\npop     r14                                                            ; +0x77, 0x100216cd7\npop     r15                                                            ; +0x79, 0x100216cd9\npop     rbp                                                            ; +0x7b, 0x100216cdb\njmp     qword ptr [rax+218h]                                           ; +0x7c, 0x100216cdc\nadd     rsp, 8                                                         ; +0x82, 0x100216ce2\npop     rbx                                                            ; +0x86, 0x100216ce6\npop     r14                                                            ; +0x87, 0x100216ce7\npop     r15                                                            ; +0x89, 0x100216ce9\npop     rbp                                                            ; +0x8b, 0x100216ceb\nretn                                                                   ; +0x8c, 0x100216cec", "xrefs": ["CreatorLayer::sceneWillResume @ 0x1002848eb"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}