//
// GameLevelManager::storeDailyLevelState from 0x6fe934 to 0x6fe9f8 (196 bytes)
//
// 3 xrefs:
// > GameLevelManager::onGetGJDailyLevelStateCompleted @ 0x6fed7c
// > GameLevelManager::onGetGJDailyLevelStateCompleted @ 0x6fede0
// > ??> @ 0x431a0
//
// 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
//
void GameLevelManager::storeDailyLevelState(GameLevelManager *a1, int a2, int a3, GJTimedLevelType a4)
{
double v4; // d0
double v5; // d0
double v6; // d0
if ( a4 == 1 )
{
v6 = sub_6EDF70();
a1->m_weeklyID = a2;
a1->m_weeklyTimeLeft = (int)(v6 + (double)a3);
}
else if ( a4 )
{
if ( a4 == Event )
{
v4 = sub_6EDF70();
a1->m_eventID = a2;
a1->m_eventTimeLeft = (int)(v4 + (double)a3);
}
}
else
{
v5 = sub_6EDF70();
a1->m_dailyID = a2;
a1->m_dailyTimeLeft = (int)(v5 + (double)a3);
}
}