// // LevelInfoLayer::onUpdate from 0x10002b990 to 0x10002ba40 (176 bytes) // // 1 xrefs: // > LevelInfoLayer::init @ 0x1000286ac // // 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 10:57:28 +0000 // __int64 __fastcall LevelInfoLayer::onUpdate(__int64 result) { __int64 v1; // x19 __int64 shouldDownloadLevel; // x0 __int64 v3; // x0 __int64 isUpdateValid; // x0 __int64 v5; // x0 __int64 v6; // x0 __int64 v7; // x0 if ( (*(_BYTE *)(result + 488) & 1) == 0 ) { v1 = result; shouldDownloadLevel = LevelInfoLayer::shouldDownloadLevel(result); if ( (_DWORD)shouldDownloadLevel ) { return LevelInfoLayer::downloadLevel(v1); } else { v3 = GameLevelManager::sharedState(shouldDownloadLevel); isUpdateValid = GameLevelManager::isUpdateValid( v3, (unsigned int)(*(_DWORD *)(*(_QWORD *)(v1 + 504) + 328LL) - *(_DWORD *)(*(_QWORD *)(v1 + 504) + 332LL))); if ( (_DWORD)isUpdateValid ) { return LevelInfoLayer::showUpdateAlert(isUpdateValid, 1); } else { (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v1 + 496) + 344LL))(*(_QWORD *)(v1 + 496), 0); v5 = (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(v1 + 648) + 344LL))(*(_QWORD *)(v1 + 648), 1); v6 = GameLevelManager::sharedState(v5); *(_QWORD *)(v6 + 1288) = v1 + 416; v7 = GameLevelManager::sharedState(v6); return GameLevelManager::updateLevel(v7, *(_QWORD *)(v1 + 504)); } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source