// // CreatorLayer::sceneWillResume from 0x1401397e0 to 0x140139957 (375 bytes) // // 2 xrefs: // > @ 0x1407378a8 // > @ 0x140917228 // // 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:06 +0000 // // Hidden C++ exception states: #wind=3 void __fastcall CreatorLayer::sceneWillResume(__int64 a1) { __int64 v2; // rax __int64 v3; // rsi __int64 v4; // rdi __int64 v5; // rdi __int64 v6; // rcx __int64 SavedGauntletLevel; // rax int v8; // r8d int v9; // r9d __int64 v10; // rdx __int64 v11; // rbx __int64 v12; // rbx char canCollectQuests; // al void *v14; // [rsp+40h] [rbp+8h] void *v15; // [rsp+40h] [rbp+8h] v2 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v14 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager(v14); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v2 = qword_14090BFD0; } v3 = *(_QWORD *)(v2 + 1104); if ( v3 ) { v4 = *(_QWORD *)(v3 + 720); if ( v4 ) { if ( !*(_BYTE *)(v4 + 369) ) { v5 = *(_QWORD *)(v4 + 328); if ( v5 ) { v6 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v15 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v15); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v6 = *(_QWORD *)&qword_14090BFB0; } if ( *(_DWORD *)(v5 + 992) - *(_DWORD *)(v5 + 996) <= 0 ) { v10 = (unsigned int)(*(_DWORD *)(v5 + 328) - *(_DWORD *)(v5 + 332)); if ( *(_BYTE *)(v5 + 721) ) SavedGauntletLevel = GameLevelManager::getSavedGauntletLevel(v6, v10); else SavedGauntletLevel = GameLevelManager::getSavedLevel(v6, v10); } else { SavedGauntletLevel = GameLevelManager::getSavedDailyLevel(); } if ( SavedGauntletLevel ) LODWORD(v5) = SavedGauntletLevel; v11 = *(_QWORD *)(v3 + 720); *(_QWORD *)(v3 + 720) = 0; LOBYTE(v8) = 1; DailyLevelPage::createDailyNode(v3, v5, v8, v9, 0); (*(void (__fastcall **)(__int64))(*(_QWORD *)v11 + 528LL))(v11); } } } } v12 = *(_QWORD *)(a1 + 32); canCollectQuests = ChallengesPage::canCollectQuests(); sub_140139470(v12, canCollectQuests); CreatorLayer::checkTimedStatus((__int64 *)(a1 - 408)); }
GD Web Decomp Icon

GD Web Decomp

Raw Source