//
// LevelCell::recallChestReady from 0x100136418 to 0x100136480 (104 bytes)
//
// 1 xrefs:
// > LevelCell::loadCustomLevelCell @ 0x100133920
//
// 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:59:27 +0000
//
__int64 __fastcall LevelCell::recallChestReady(__int64 a1)
{
__int64 v1; // x19
__int64 result; // x0
__int64 v3; // x0
__int64 v4; // x0
__int64 v5; // x0
v1 = *(unsigned int *)(*(_QWORD *)(a1 + 560) + 1292LL);
if ( (int)v1 < 100001 )
return 0;
v3 = GameStatsManager::sharedState(a1);
result = GameStatsManager::isDailyRecall(v3, v1);
if ( (_DWORD)result )
{
v4 = GameStatsManager::sharedState(result);
result = GameStatsManager::hasCompletedDailyStars(v4, v1);
if ( (_DWORD)result )
{
v5 = GameStatsManager::sharedState(result);
return (unsigned int)sub_1003D2428(v5, v1) ^ 1;
}
}
return result;
}