//
// GJGameLevel::levelWasAltered from 0x10055b5f0 to 0x10055b71f (303 bytes)
//
// 1 xrefs:
// > EditorPauseLayer::saveLevel @ 0x100294926
//
// 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 __fastcall GJGameLevel::levelWasAltered(GJGameLevel *a1)
{
int v1; // eax
int v2; // eax
int v3; // eax
int v4; // eax
a1->m_hasBeenModified = 1;
a1->m_isVerifiedRaw = 0;
v1 = (int)(float)((float)((float)rand() * 4.6566129e-10) * 1000.0);
a1->m_isVerified.seed = v1;
a1->m_isVerified.random = v1;
a1->m_firstCoinVerified.value = 0;
v2 = (int)(float)((float)((float)rand() * 4.6566129e-10) * 1000.0);
a1->m_firstCoinVerified.seed = v2;
a1->m_firstCoinVerified.random = v2;
a1->m_secondCoinVerified.value = 0;
v3 = (int)(float)((float)((float)rand() * 4.6566129e-10) * 1000.0);
a1->m_secondCoinVerified.seed = v3;
a1->m_secondCoinVerified.random = v3;
a1->m_thirdCoinVerified.value = 0;
v4 = (int)(float)((float)((float)rand() * 4.6566129e-10) * 1000.0);
a1->m_thirdCoinVerified.seed = v4;
a1->m_thirdCoinVerified.random = v4;
std::string::assign((std::string *)&a1->m_capacityString, "");
a1->m_bestTime = 0;
a1->m_bestPoints = 0;
*(_WORD *)&a1->m_savedTime = 0;
if ( a1->m_isUploaded )
{
a1->m_isUploaded = 0;
++a1->m_levelVersion;
}
}