//
// GameLevelManager::isPastDailyCopy from 0x4ab1d0 to 0x4ab204 (52 bytes)
//
// 4 xrefs:
// > LevelInfoLayer::init @ 0x49dc02
// > GameLevelManager::limitSavedLevels @ 0x4adee0
// > GameLevelManager::cleanupDailyLevels @ 0x4ae228
// > GJGameLevel::encodeWithCoder @ 0x4d83c0
//
// 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:49:58 +0000
//
bool __fastcall GameLevelManager::isPastDailyCopy(GameLevelManager *this, GJGameLevel *a2)
{
int v2; // r4
int v3; // r1
v2 = *((_DWORD *)a2 + 186) - *((_DWORD *)a2 + 187);
if ( v2 <= 0 )
return 0;
if ( v2 > 200000 )
v3 = 2;
else
v3 = v2 > 100000;
return v2 != GameLevelManager::getActiveDailyID(this, v3);
}