// // GJGameLevel::setNewNormalPercent2 from 0x3beaf8 to 0x3beb2a (50 bytes) // // 5 xrefs: // > GameLevelManager::saveLevel @ 0x3c6f7a // > GJGameLevel::dataLoaded @ 0x3c8968 // > GameLevelManager::verifyLevelState @ 0x3c949a // > GJGameLevel::savePercentage @ 0x3d5512 // > GJGameLevel::handleStatsConflict @ 0x3d85bc // // 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::setNewNormalPercent2(GJGameLevel *a1, int a2) { int v4; // s15 a1->m_newNormalPercent2.value = a2; v4 = (int)(float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0); a1->m_newNormalPercent2.seed = v4; a1->m_newNormalPercent2.random = v4 + a2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source