//
// GJGameLevel::setNewNormalPercent from 0x3beac0 to 0x3beaf2 (50 bytes)
//
// 5 xrefs:
// > GameLevelManager::saveLevel @ 0x3c6f6a
// > GJGameLevel::dataLoaded @ 0x3c8954
// > GameLevelManager::verifyLevelState @ 0x3c9492
// > GJGameLevel::savePercentage @ 0x3d55f8
// > GJGameLevel::handleStatsConflict @ 0x3d8500
//
// 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::setNewNormalPercent(GJGameLevel *a1, int a2)
{
int v4; // s15
a1->m_orbCompletion.value = a2;
v4 = (int)(float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0);
a1->m_orbCompletion.seed = v4;
a1->m_orbCompletion.random = v4 + a2;
}