// // GJGameLevel::unverifyCoins from 0x14016ffa0 to 0x140170054 (180 bytes) // // 3 xrefs: // > EditorPauseLayer::saveLevel @ 0x1400dd917 // > GJGameLevel::copyLevelInfo @ 0x14016d96f // > @ 0x1406cae60 // // 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::unverifyCoins(GJGameLevel *a1) { int v2; // eax int v3; // eax int v4; // eax int v5; // eax int v6; // eax a1->m_firstCoinVerified.value = 0; v2 = rand(); a1->m_secondCoinVerified.value = 0; v3 = (int)(float)((float)((float)v2 / 32767.0) * 1000.0); a1->m_firstCoinVerified.seed = v3; a1->m_firstCoinVerified.random = v3; v4 = rand(); a1->m_thirdCoinVerified.value = 0; v5 = (int)(float)((float)((float)v4 / 32767.0) * 1000.0); a1->m_secondCoinVerified.seed = v5; a1->m_secondCoinVerified.random = v5; v6 = (int)(float)((float)((float)rand() / 32767.0) * 1000.0); a1->m_thirdCoinVerified.seed = v6; a1->m_thirdCoinVerified.random = v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source