//
// GameLevelManager::isTimeValid from 0x3bfd04 to 0x3bfd7c (120 bytes)
//
// 3 xrefs:
// > GameLevelManager::getStoredOnlineLevels @ 0x3bfd94
// > GameLevelManager::isUpdateValid @ 0x3c10a6
// > GameLevelManager::getStoredLevelComments @ 0x3c20dc
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
bool GameLevelManager::isTimeValid(GameLevelManager *a1, const char *a2, float a3)
{
double v3; // d0
cocos2d::CCDictionary *m_timerDict; // r5
cocos2d::CCString *v6; // r5
bool result; // r0
double v8; // d9
float v9; // r2
int v10; // r3
std::string v11; // [sp+8h] [bp-8h] BYREF
m_timerDict = a1->m_timerDict;
sub_776584((int)&v11, (char *)a2);
v6 = (cocos2d::CCString *)cocos2d::CCDictionary::objectForKey(m_timerDict, &v11);
sub_774008(&v11);
result = (char)v6;
if ( v6 )
{
v8 = cocos2d::CCString::doubleValue(v6);
sub_3BE5E8(SLODWORD(v8), *((float *)&v8 + 1), v9, v10);
return v3 - v8 <= a3;
}
return result;
}