// // DailyLevelPage::createNodeIfLoaded from 0x1401710c0 to 0x1401711b1 (241 bytes) // // 3 xrefs: // > DailyLevelPage::downloadAndCreateNode @ 0x140171073 // > DailyLevelPage::skipDailyLevel @ 0x140172a56 // > @ 0x140918338 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:27:31 +0000 // // Hidden C++ exception states: #wind=3 void __fastcall DailyLevelPage::createNodeIfLoaded(__int64 a1) { _DWORD *v2; // rcx int v3; // edx int v4; // eax int v5; // edx __int64 v6; // rdx __int64 SavedDailyLevel; // rax __int64 v8; // rdx int v9; // r9d void *v10; // [rsp+40h] [rbp+8h] *(_BYTE *)(a1 + 728) = 0; v2 = *(_DWORD **)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v10 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v10); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v2 = *(_DWORD **)&qword_14090BFB0; } v3 = *(_DWORD *)(a1 + 732); if ( v3 ) { if ( v3 == 1 ) { v4 = v2[242]; } else { if ( v3 != 2 ) return; v4 = v2[245]; } } else { v4 = v2[239]; } if ( v4 > 0 ) { if ( v3 ) { v5 = v3 - 1; if ( v5 ) { if ( v5 == 1 ) v6 = (unsigned int)v2[245]; else v6 = 0; } else { v6 = (unsigned int)v2[242]; } } else { v6 = (unsigned int)v2[239]; } SavedDailyLevel = GameLevelManager::getSavedDailyLevel(v2, v6); if ( SavedDailyLevel ) { DailyLevelPage::createDailyNode(a1, SavedDailyLevel, 0, v9, 1); } else { LOBYTE(v8) = 1; (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 704) + 336LL))(*(_QWORD *)(a1 + 704), v8); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source