// // GameManager::resetAllIcons from 0x140183ea0 to 0x1401841c2 (802 bytes) // // 2 xrefs: // > GameManager::firstLoad @ 0x140188a67 // > @ 0x1406cb5f8 // // 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 GameManager::resetAllIcons(GameManager *a1) { int v2; // eax int v3; // eax int v4; // eax float v5; // xmm0_4 int v6; // eax float v7; // xmm0_4 int v8; // eax float v9; // xmm0_4 int v10; // eax float v11; // xmm0_4 int v12; // eax float v13; // xmm0_4 int v14; // eax float v15; // xmm0_4 float v16; // xmm0_4 int v17; // eax float v18; // xmm0_4 int v19; // eax float v20; // xmm0_4 int v21; // eax float v22; // xmm0_4 int v23; // eax float v24; // xmm0_4 int v25; // eax float v26; // xmm0_4 int v27; // eax float v28; // xmm0_4 int v29; // eax float v30; // xmm0_4 a1->m_playerColor.value = 0; v2 = rand(); a1->m_playerColor2.value = 3; v3 = (int)(float)((float)((float)v2 / 32767.0) * 1000.0); a1->m_playerColor.seed = v3; a1->m_playerColor.random = v3; v4 = rand(); a1->m_playerGlowColor.value = -1; v5 = (float)((float)v4 / 32767.0) * 1000.0; a1->m_playerColor2.seed = (int)v5; a1->m_playerColor2.random = (int)v5 + 3; v6 = rand(); a1->m_playerFrame.value = 1; v7 = (float)((float)v6 / 32767.0) * 1000.0; a1->m_playerGlowColor.seed = (int)v7; a1->m_playerGlowColor.random = (int)v7 - 1; v8 = rand(); a1->m_playerShip.value = 1; v9 = (float)((float)v8 / 32767.0) * 1000.0; a1->m_playerFrame.seed = (int)v9; a1->m_playerFrame.random = (int)v9 + 1; v10 = rand(); a1->m_playerBall.value = 1; v11 = (float)((float)v10 / 32767.0) * 1000.0; a1->m_playerShip.seed = (int)v11; a1->m_playerShip.random = (int)v11 + 1; v12 = rand(); a1->m_playerBird.value = 1; v13 = (float)((float)v12 / 32767.0) * 1000.0; a1->m_playerBall.seed = (int)v13; a1->m_playerBall.random = (int)v13 + 1; v14 = rand(); a1->m_playerDart.value = 1; v15 = (float)((float)v14 / 32767.0) * 1000.0; a1->m_playerBird.seed = (int)v15; a1->m_playerBird.random = (int)v15 + 1; v16 = (float)((float)rand() / 32767.0) * 1000.0; a1->m_playerDart.seed = (int)v16; a1->m_playerDart.random = (int)v16 + 1; a1->m_playerRobot.value = 1; v17 = rand(); a1->m_playerSpider.value = 1; v18 = (float)((float)v17 / 32767.0) * 1000.0; a1->m_playerRobot.seed = (int)v18; a1->m_playerRobot.random = (int)v18 + 1; v19 = rand(); a1->m_playerSwing.value = 1; v20 = (float)((float)v19 / 32767.0) * 1000.0; a1->m_playerSpider.seed = (int)v20; a1->m_playerSpider.random = (int)v20 + 1; v21 = rand(); a1->m_playerStreak.value = 1; v22 = (float)((float)v21 / 32767.0) * 1000.0; a1->m_playerSwing.seed = (int)v22; a1->m_playerSwing.random = (int)v22 + 1; v23 = rand(); a1->m_playerShipFire.value = 1; v24 = (float)((float)v23 / 32767.0) * 1000.0; a1->m_playerStreak.seed = (int)v24; a1->m_playerStreak.random = (int)v24 + 1; v25 = rand(); a1->m_playerDeathEffect.value = 1; v26 = (float)((float)v25 / 32767.0) * 1000.0; a1->m_playerShipFire.seed = (int)v26; a1->m_playerShipFire.random = (int)v26 + 1; v27 = rand(); a1->m_playerJetpack.value = 1; v28 = (float)((float)v27 / 32767.0) * 1000.0; a1->m_playerDeathEffect.seed = (int)v28; a1->m_playerDeathEffect.random = (int)v28 + 1; v29 = rand(); a1->m_playerGlow = 0; a1->m_playerIconType = Cube; v30 = (float)((float)v29 / 32767.0) * 1000.0; a1->m_playerJetpack.seed = (int)v30; a1->m_playerJetpack.random = (int)v30 + 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source