//
// GameManager::unlockTypeToIconType from 0x14017c700 to 0x14017c768 (104 bytes)
//
// 2 xrefs:
// > GJItemIcon::init @ 0x14027ae74
// > ItemInfoPopup::init @ 0x14027c28a
//
// 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
//
IconType GameManager::unlockTypeToIconType(GameManager *a1, int a2)
{
IconType result; // eax
switch ( a2 )
{
case 4:
result = Ship;
break;
case 5:
result = Ball;
break;
case 6:
result = Ufo;
break;
case 7:
result = Wave;
break;
case 8:
result = Robot;
break;
case 9:
result = Spider;
break;
case 10:
result = Special;
break;
case 11:
result = DeathEffect;
break;
case 12:
result = Item;
break;
case 13:
result = Swing;
break;
case 14:
result = Jetpack;
break;
case 15:
result = ShipFire;
break;
default:
result = Cube;
break;
}
return result;
}