// // DailyLevelPage::updateTimers from 0x608e4c to 0x608f60 (276 bytes) // // 2 xrefs: // > DailyLevelPage::dailyStatusFinished @ 0x608f7a // > DailyLevelPage::dailyStatusFinished @ 0x608f90 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:54:46 +0000 // int __fastcall DailyLevelPage::updateTimers(DailyLevelPage *this, float a2) { _DWORD *v3; // r0 int result; // r0 int DailyTime; // r8 GameLevelManager *DailyTimeString; // r0 char *v7; // r1 int v8; // r9 int v9; // r3 _DWORD *v10; // r0 int v11; // [sp+4h] [bp-20h] BYREF size_t v12; // [sp+8h] [bp-1Ch] char *v13; // [sp+Ch] [bp-18h] int v14; // [sp+10h] [bp-14h] BYREF size_t v15; // [sp+14h] [bp-10h] char *v16; // [sp+18h] [bp-Ch] v3 = (_DWORD *)GameLevelManager::sharedState(this); result = GameLevelManager::hasDailyStateBeenLoaded(v3, *((_DWORD *)this + 139)); if ( result ) { DailyTime = DailyLevelPage::getDailyTime(this); DailyTimeString = DailyLevelPage::getDailyTimeString((DailyLevelPage *)&v11, (int)this, DailyTime); if ( *((_DWORD *)this + 139) != 2 ) { v7 = (v11 & 1) != 0 ? v13 : (char *)&v11 + 1; DailyTimeString = (GameLevelManager *)(*(int (__fastcall **)(_DWORD, char *, int))(**((_DWORD **)this + 133) + 464))( *((_DWORD *)this + 133), v7, (unsigned __int8)v11 << 31); v8 = *((_DWORD *)this + 137); if ( v8 ) { v14 = 0; v15 = 0; v16 = nullptr; if ( (v11 & 1) != 0 ) { std::string::__init(&v14, v13, v12); } else { v14 = v11; v15 = v12; v16 = v13; } DailyLevelNode::updateTimeLabel(v8, (unsigned __int8 *)&v14); DailyTimeString = (GameLevelManager *)std::string::~string((int)&v14); } } if ( DailyTime <= 0 && !*((_BYTE *)this + 545) ) { v9 = *((_DWORD *)this + 139); *((_BYTE *)this + 545) = 1; if ( v9 != 2 ) { (*(void (__fastcall **)(_DWORD))(**((_DWORD **)this + 134) + 172))(*((_DWORD *)this + 134)); DailyTimeString = (GameLevelManager *)(*(int (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 133) + 172))( *((_DWORD *)this + 133), 0); } v10 = (_DWORD *)GameLevelManager::sharedState(DailyTimeString); GameLevelManager::resetDailyLevelState(v10, *((_DWORD *)this + 139)); DailyLevelPage::tryGetDailyStatus(this); *((_BYTE *)this + 544) = 0; } return std::string::~string((int)&v11); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source