//
// GameLevelManager::isPastDailyCopy from 0x8041f4 to 0x804264 (112 bytes)
//
// 5 xrefs:
// > LevelInfoLayer::init @ 0x7eb2dc
// > GameLevelManager::limitSavedLevels @ 0x8084d4
// > GameLevelManager::cleanupDailyLevels @ 0x8089c0
// > GJGameLevel::encodeWithCoder @ 0x8567b8
// > ??> @ 0x1022e0
//
// 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 12:54:44 +0000
//
bool __fastcall GameLevelManager::isPastDailyCopy(GameLevelManager *this, GJGameLevel *a2)
{
int v2; // w19
int v3; // w1
v2 = *((_DWORD *)a2 + 230) - *((_DWORD *)a2 + 231);
if ( v2 <= 0 )
return 0;
v3 = 2;
if ( v2 <= 200000 )
v3 = v2 > 100000;
return (unsigned int)GameLevelManager::getActiveDailyID((unsigned int *)this, v3) != v2;
}