//
// GJGameLevel::levelWasAltered from 0x70b974 to 0x70ba04 (144 bytes)
//
// 2 xrefs:
// > EditorPauseLayer::saveLevel @ 0x78e258
// > ??> @ 0x64c08
//
// 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 GJGameLevel::levelWasAltered(GJGameLevel *a1)
{
int v2; // w1
_BOOL4 m_isUploaded; // w0
int m_levelVersion; // w0
a1->m_isVerifiedRaw = 0;
a1->m_hasBeenModified = 1;
v2 = (int)(float)((float)((float)rand() * 4.6566e-10) * 1000.0);
a1->m_isVerified.seed = v2;
a1->m_isVerified.random = v2;
GJGameLevel::unverifyCoins(a1);
sub_D1798C(&a1->m_capacityString, &byte_F288A0, 0);
a1->m_bestTime = 0;
m_isUploaded = a1->m_isUploaded;
a1->m_bestPoints = 0;
a1->m_savedTime = 0;
a1->m_savedPoints = 0;
if ( m_isUploaded )
{
m_levelVersion = a1->m_levelVersion;
a1->m_isUploaded = 0;
a1->m_levelVersion = m_levelVersion + 1;
}
}