// // GJGameLevel::setDemon from 0x32a9bc to 0x32a9ee (50 bytes) // // 10 xrefs: // > LevelTools::getLevel @ 0x32b0ea // > LevelTools::getLevel @ 0x32b214 // > LevelTools::getLevel @ 0x32b2a6 // > GJGameLevel::init @ 0x3bebe6 // > GameLevelManager::getMainLevel @ 0x3bf5cc // > GJGameLevel::create @ 0x3c5ea2 // > GameLevelManager::saveFetchedLevels @ 0x3c649a // > GJGameLevel::getListSnapshot @ 0x3c8848 // > GJGameLevel::dataLoaded @ 0x3c8a16 // > GameLevelManager::onGetLevelSaveDataCompleted @ 0x3c9574 // // 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::setDemon(GJGameLevel *a1, int a2) { int v4; // s15 a1->m_demon.value = a2; v4 = (int)(float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0); a1->m_demon.seed = v4; a1->m_demon.random = v4 + a2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source