//
// GJGameLevel::levelWasAltered from 0x3c96a4 to 0x3c970c (104 bytes)
//
// 1 xrefs:
// > EditorPauseLayer::saveLevel @ 0x401336
//
// 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; // s15
_BOOL4 m_isUploaded; // r3
int m_levelVersion; // r3
a1->m_hasBeenModified = 1;
a1->m_isVerifiedRaw = 0;
v2 = (int)(float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0);
a1->m_isVerified.seed = v2;
a1->m_isVerified.random = v2;
GJGameLevel::unverifyCoins(a1);
sub_7753D4((int)&a1->m_capacityString, (char *)&unk_939830);
m_isUploaded = a1->m_isUploaded;
a1->m_bestTime = 0;
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;
}
}