//
// GameManager::resetAllIcons from 0x100319750 to 0x10031996c (540 bytes)
//
// 1 xrefs:
// > GameManager::firstLoad @ 0x10031c820
//
// 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 __fastcall GameManager::resetAllIcons(GameManager *a1)
{
float v2; // s0
float v3; // s0
float v4; // s0
float v5; // s0
float v6; // s0
float v7; // s0
float v8; // s0
float v9; // s0
float v10; // s0
float v11; // s0
float v12; // s0
float v13; // s0
float v14; // s0
float v15; // s0
float v16; // s0
a1->m_playerColor.value = 0;
v2 = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0;
a1->m_playerColor.seed = (int)v2;
a1->m_playerColor.random = (int)v2;
a1->m_playerColor2.value = 3;
v3 = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0;
a1->m_playerColor2.seed = (int)v3;
a1->m_playerColor2.random = (int)v3 + 3;
a1->m_playerGlowColor.value = -1;
v4 = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0;
a1->m_playerGlowColor.seed = (int)v4;
a1->m_playerGlowColor.random = (int)v4 - 1;
a1->m_playerFrame.value = 1;
v5 = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0;
a1->m_playerFrame.seed = (int)v5;
a1->m_playerFrame.random = (int)v5 + 1;
a1->m_playerShip.value = 1;
v6 = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0;
a1->m_playerShip.seed = (int)v6;
a1->m_playerShip.random = (int)v6 + 1;
a1->m_playerBall.value = 1;
v7 = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0;
a1->m_playerBall.seed = (int)v7;
a1->m_playerBall.random = (int)v7 + 1;
a1->m_playerBird.value = 1;
v8 = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0;
a1->m_playerBird.seed = (int)v8;
a1->m_playerBird.random = (int)v8 + 1;
a1->m_playerDart.value = 1;
v9 = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0;
a1->m_playerDart.seed = (int)v9;
a1->m_playerDart.random = (int)v9 + 1;
a1->m_playerRobot.value = 1;
v10 = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0;
a1->m_playerRobot.seed = (int)v10;
a1->m_playerRobot.random = (int)v10 + 1;
a1->m_playerSpider.value = 1;
v11 = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0;
a1->m_playerSpider.seed = (int)v11;
a1->m_playerSpider.random = (int)v11 + 1;
a1->m_playerSwing.value = 1;
v12 = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0;
a1->m_playerSwing.seed = (int)v12;
a1->m_playerSwing.random = (int)v12 + 1;
a1->m_playerStreak.value = 1;
v13 = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0;
a1->m_playerStreak.seed = (int)v13;
a1->m_playerStreak.random = (int)v13 + 1;
a1->m_playerShipFire.value = 1;
v14 = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0;
a1->m_playerShipFire.seed = (int)v14;
a1->m_playerShipFire.random = (int)v14 + 1;
a1->m_playerDeathEffect.value = 1;
v15 = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0;
a1->m_playerDeathEffect.seed = (int)v15;
a1->m_playerDeathEffect.random = (int)v15 + 1;
a1->m_playerJetpack.value = 1;
v16 = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0;
a1->m_playerJetpack.seed = (int)v16;
a1->m_playerJetpack.random = (int)v16 + 1;
a1->m_playerGlow = 0;
a1->m_playerIconType = Cube;
}