{"type": "func", "start": 4297269056, "end": 4297269196, "name": "DailyLevelPage::createNodeIfLoaded", "pseudocode": "// \n// DailyLevelPage::createNodeIfLoaded from 0x100231f40 to 0x100231fcc (140 bytes)\n// \n// 4 xrefs:\n// > DailyLevelPage::dailyStatusFinished @ 0x1002318f6\n// > DailyLevelPage::downloadAndCreateNode @ 0x100231b18\n// > DailyLevelPage::claimLevelReward @ 0x1002324bd\n// > DailyLevelPage::skipDailyLevel @ 0x1002325c1\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::createNodeIfLoaded(DailyLevelPage *a1)\n{\n  GameLevelManager *v1; // rax\n  GameLevelManager *v2; // r14\n  GameLevelManager *v3; // rax\n  int DailyID; // eax\n  GJGameLevel *SavedDailyLevel; // rax\n\n  a1->m_downloadStarted = 0;\n  v1 = GameLevelManager::sharedState();\n  if ( GameLevelManager::getDailyID(v1, a1->m_type) > 0 )\n  {\n    v2 = GameLevelManager::sharedState();\n    v3 = GameLevelManager::sharedState();\n    DailyID = GameLevelManager::getDailyID(v3, a1->m_type);\n    SavedDailyLevel = GameLevelManager::getSavedDailyLevel(v2, DailyID);\n    if ( SavedDailyLevel )\n      DailyLevelPage::createDailyNode(a1, SavedDailyLevel, 0, 0.0, 1);\n    else\n      ((void (__fastcall *)(LoadingCircle *, __int64))a1->m_nodeCircle->setVisible)(a1->m_nodeCircle, 1);\n  }\n}", "assembly": "; \n; DailyLevelPage::createNodeIfLoaded from 0x100231f40 to 0x100231fcc (140 bytes)\n; \n; 4 xrefs:\n; > DailyLevelPage::dailyStatusFinished @ 0x1002318f6\n; > DailyLevelPage::downloadAndCreateNode @ 0x100231b18\n; > DailyLevelPage::claimLevelReward @ 0x1002324bd\n; > DailyLevelPage::skipDailyLevel @ 0x1002325c1\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, 0x100231f40\nmov     rbp, rsp                                                       ; +0x1, 0x100231f41\npush    r14                                                            ; +0x4, 0x100231f44\npush    rbx                                                            ; +0x6, 0x100231f46\nmov     rbx, rdi                                                       ; +0x7, 0x100231f47\nmov     byte ptr [rdi+2B8h], 0                                         ; +0xa, 0x100231f4a\ncall    GameLevelManager__sharedState                                  ; +0x11, 0x100231f51\nmov     esi, [rbx+2BCh]                                                ; +0x16, 0x100231f56\nmov     rdi, rax                                                       ; +0x1c, 0x100231f5c\ncall    GameLevelManager__getDailyID                                   ; +0x1f, 0x100231f5f\ntest    eax, eax                                                       ; +0x24, 0x100231f64\njle     short loc_100231FAB                                            ; +0x26, 0x100231f66\ncall    GameLevelManager__sharedState                                  ; +0x28, 0x100231f68\nmov     r14, rax                                                       ; +0x2d, 0x100231f6d\ncall    GameLevelManager__sharedState                                  ; +0x30, 0x100231f70\nmov     esi, [rbx+2BCh]                                                ; +0x35, 0x100231f75\nmov     rdi, rax                                                       ; +0x3b, 0x100231f7b\ncall    GameLevelManager__getDailyID                                   ; +0x3e, 0x100231f7e\nmov     rdi, r14                                                       ; +0x43, 0x100231f83\nmov     esi, eax                                                       ; +0x46, 0x100231f86\ncall    GameLevelManager__getSavedDailyLevel                           ; +0x48, 0x100231f88\ntest    rax, rax                                                       ; +0x4d, 0x100231f8d\njz      short loc_100231FB0                                            ; +0x50, 0x100231f90\nxorps   xmm0, xmm0                                                     ; +0x52, 0x100231f92\nmov     rdi, rbx                                                       ; +0x55, 0x100231f95\nmov     rsi, rax                                                       ; +0x58, 0x100231f98\nxor     edx, edx                                                       ; +0x5b, 0x100231f9b\nmov     ecx, 1                                                         ; +0x5d, 0x100231f9d\npop     rbx                                                            ; +0x62, 0x100231fa2\npop     r14                                                            ; +0x63, 0x100231fa3\npop     rbp                                                            ; +0x65, 0x100231fa5\njmp     DailyLevelPage__createDailyNode                                ; +0x66, 0x100231fa6\npop     rbx                                                            ; +0x6b, 0x100231fab\npop     r14                                                            ; +0x6c, 0x100231fac\npop     rbp                                                            ; +0x6e, 0x100231fae\nretn                                                                   ; +0x6f, 0x100231faf\nmov     rdi, [rbx+2A0h]                                                ; +0x70, 0x100231fb0\nmov     rax, [rdi]                                                     ; +0x77, 0x100231fb7\nmov     rax, [rax+148h]                                                ; +0x7a, 0x100231fba\nmov     esi, 1                                                         ; +0x81, 0x100231fc1\npop     rbx                                                            ; +0x86, 0x100231fc6\npop     r14                                                            ; +0x87, 0x100231fc7\npop     rbp                                                            ; +0x89, 0x100231fc9\njmp     rax                                                            ; +0x8a, 0x100231fca", "xrefs": ["DailyLevelPage::dailyStatusFinished @ 0x1002318f6", "DailyLevelPage::downloadAndCreateNode @ 0x100231b18", "DailyLevelPage::claimLevelReward @ 0x1002324bd", "DailyLevelPage::skipDailyLevel @ 0x1002325c1"], "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"}