//
// LevelCell::recallChestReady from 0x42537c to 0x4253bc (64 bytes)
//
// 1 xrefs:
// > LevelCell::loadCustomLevelCell @ 0x42ec5c
//
// 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
//
GameStatsManager *__fastcall LevelCell::recallChestReady(LevelCell *this)
{
int v1; // r4
GameStatsManager *v2; // r0
GameStatsManager *isDailyRecall; // r0
GameStatsManager *result; // r0
GameStatsManager *v5; // r0
GameStatsManager *v6; // r0
v1 = *(_DWORD *)(*((_DWORD *)this + 106) + 1036);
if ( v1 <= 100000 )
return nullptr;
v2 = (GameStatsManager *)GameStatsManager::sharedState(this);
isDailyRecall = (GameStatsManager *)GameStatsManager::isDailyRecall(v2, v1);
if ( !isDailyRecall )
return nullptr;
v5 = (GameStatsManager *)GameStatsManager::sharedState(isDailyRecall);
result = (GameStatsManager *)GameStatsManager::hasCompletedDailyStars(v5, v1);
if ( result )
{
v6 = (GameStatsManager *)GameStatsManager::sharedState(result);
return (GameStatsManager *)((unsigned __int8)GameStatsManager::hasCompletedDailyLevel(v6, v1) ^ 1);
}
return result;
}