//
// GameManager::iconTypeToUnlockType from 0x14017c5e0 to 0x14017c654 (116 bytes)
//
// 5 xrefs:
// > GameManager::isIconUnlocked @ 0x14017c56f
// > GJGarageLayer::getItems @ 0x140276875
// > GJGarageLayer::onSelect @ 0x14027722b
// > GJGarageLayer::onSelect @ 0x140277703
// > GJGarageLayer::onToggleItem @ 0x140277886
//
// 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
//
UnlockType GameManager::iconTypeToUnlockType(GameManager *a1, IconType a2)
{
UnlockType result; // eax
switch ( a2 )
{
case Cube:
result = 1;
break;
case Ship:
result = 4;
break;
case Ball:
result = 5;
break;
case Ufo:
result = Bird;
break;
case Wave:
result = Dart;
break;
case Robot:
result = 8;
break;
case Spider:
result = 9;
break;
case Swing:
result = GJItem|0x1;
break;
case Jetpack:
result = GJItem|Col1;
break;
case DeathEffect:
result = Death;
break;
case Special:
result = Streak;
break;
case Item:
result = GJItem;
break;
case ShipFire:
result = GJItem|Col2;
break;
default:
result = 0;
break;
}
return result;
}