// // GJGameLevel::setNormalPercent from 0x3c63a0 to 0x3c63d2 (50 bytes) // // 7 xrefs: // > GameLevelManager::updateLevelRewards @ 0x3c63ec // > GameLevelManager::saveFetchedLevels @ 0x3c6512 // > GameLevelManager::saveLevel @ 0x3c6f52 // > GJGameLevel::dataLoaded @ 0x3c8940 // > GameLevelManager::verifyLevelState @ 0x3c948a // > GJGameLevel::savePercentage @ 0x3d54f0 // > GJGameLevel::handleStatsConflict @ 0x3d84e0 // // 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 v4; // s15 a1->m_normalPercent.value = a2; v4 = (int)(float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0); a1->m_normalPercent.seed = v4; a1->m_normalPercent.random = v4 + a2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source