//
// GJGameLevel::setNormalPercent from 0x704e40 to 0x704e90 (80 bytes)
//
// 8 xrefs:
// > GameLevelManager::updateLevelRewards @ 0x704ef8
// > GameLevelManager::saveFetchedLevels @ 0x705100
// > GameLevelManager::saveLevel @ 0x706c7c
// > GJGameLevel::dataLoaded @ 0x709f4c
// > GameLevelManager::verifyLevelState @ 0x70b468
// > GJGameLevel::savePercentage @ 0x735f10
// > GJGameLevel::handleStatsConflict @ 0x739560
// > ??> @ 0xa77f0
//
// 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::setNormalPercent(GJGameLevel *a1, int a2)
{
int v3; // w0
a1->m_normalPercent.value = a2;
v3 = (int)(float)((float)((float)rand() * 4.6566e-10) * 1000.0);
a1->m_normalPercent.seed = v3;
a1->m_normalPercent.random = a2 + v3;
}