// // DailyLevelPage::levelDownloadFinished from 0x100250314 to 0x1002503c8 (180 bytes) // // 2 xrefs: // > sub_1002503C8 @ 0x1002503cc // > @ 0x10090c148 // // This function is hookable on this platform (idp: arm, 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:01:31 +0000 // __int64 __fastcall DailyLevelPage::levelDownloadFinished(__int64 result, __int64 a2) { int v3; // w21 __int64 v4; // x20 unsigned int *v5; // x0 int v6; // w21 unsigned int *v7; // x0 if ( a2 ) { v3 = *(_DWORD *)(a2 + 920) - *(_DWORD *)(a2 + 924); if ( v3 >= 1 ) { v4 = result; v5 = (unsigned int *)GameLevelManager::sharedState(); if ( v3 == (unsigned int)sub_1000CD764(v5, *(_DWORD *)(v4 + 732)) || (v6 = *(_DWORD *)(a2 + 920) - *(_DWORD *)(a2 + 924), v7 = (unsigned int *)GameLevelManager::sharedState(), result = GameLevelManager::getActiveDailyID(v7, *(_DWORD *)(v4 + 732)), v6 == (_DWORD)result) ) { result = (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v4 + 704) + 344LL))(*(_QWORD *)(v4 + 704), 0); if ( (*(_BYTE *)(v4 + 728) & 1) == 0 ) return DailyLevelPage::createDailyNode(v4, a2, 0, 1, 0.0); } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source