// // GameManager::activeIconForType from 0x5eb81c to 0x5eb904 (232 bytes) // // 4 xrefs: // > GJGarageLayer::getItems @ 0x796eec // > GJGarageLayer::setupPage @ 0x7974f8 // > GJGarageLayer::onArrow @ 0x797cf0 // > @ 0x4a370 // // 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 // int GameManager::activeIconForType(GameManager *a1, IconType a2) { int result; // w0 switch ( a2 ) { case Cube: result = a1->m_playerFrame.random - a1->m_playerFrame.seed; break; case Ship: result = a1->m_playerShip.random - a1->m_playerShip.seed; break; case Ball: result = a1->m_playerBall.random - a1->m_playerBall.seed; break; case Ufo: result = a1->m_playerBird.random - a1->m_playerBird.seed; break; case Wave: result = a1->m_playerDart.random - a1->m_playerDart.seed; break; case Robot: result = a1->m_playerRobot.random - a1->m_playerRobot.seed; break; case Spider: result = a1->m_playerSpider.random - a1->m_playerSpider.seed; break; case Swing: result = a1->m_playerSwing.random - a1->m_playerSwing.seed; break; case Jetpack: result = a1->m_playerJetpack.random - a1->m_playerJetpack.seed; break; case DeathEffect: result = a1->m_playerDeathEffect.random - a1->m_playerDeathEffect.seed; break; case Special: result = a1->m_playerStreak.random - a1->m_playerStreak.seed; break; case ShipFire: result = a1->m_playerShipFire.random - a1->m_playerShipFire.seed; break; default: result = 0; break; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source