//
// LevelCell::recallSavedLevel from 0x4252fc to 0x425332 (54 bytes)
//
// 1 xrefs:
// > LevelCell::loadCustomLevelCell @ 0x42ec34
//
// 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:48:04 +0000
//
int __fastcall LevelCell::recallSavedLevel(LevelCell *this)
{
GameLevelManager *v2; // r0
int result; // r0
v2 = (GameLevelManager *)GameLevelManager::sharedState(this);
result = GameLevelManager::getSavedDailyLevel(v2, *(_DWORD *)(*((_DWORD *)this + 106) + 1036));
if ( result )
{
if ( *(_DWORD *)(result + 268) - *(_DWORD *)(result + 272) != *(_DWORD *)(*((_DWORD *)this + 106) + 268)
- *(_DWORD *)(*((_DWORD *)this + 106) + 272) )
return 0;
}
return result;
}