// // GameManager::iconTypeToUnlockType from 0x100312b10 to 0x100312c04 (244 bytes) // // 5 xrefs: // > GJGarageLayer::getItems @ 0x1003056cc // > GJGarageLayer::onSelect @ 0x1003059d4 // > GJGarageLayer::onSelect @ 0x100305d90 // > GJGarageLayer::onToggleItem @ 0x100305fc0 // > GameManager::isIconUnlocked @ 0x100312ac8 // // 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 __fastcall GameManager::iconTypeToUnlockType(GameManager *a1, IconType a2) { if ( a2 > Robot ) { if ( a2 <= 97 ) { switch ( a2 ) { case Spider: return 9; case Swing: return GJItem|0x1; case Jetpack: return GJItem|Col1; } } else { if ( a2 <= Special ) { if ( a2 == DeathEffect ) return Death; else return Streak; } if ( a2 == Item ) return GJItem; if ( a2 == ShipFire ) return GJItem|Col2; } return 0; } if ( a2 <= Ball ) { switch ( a2 ) { case Cube: return 1; case Ship: return 4; case Ball: return 5; } return 0; } if ( a2 == Ufo ) return Bird; if ( a2 == Wave ) return Dart; return 8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source