// // GameManager::countForType from 0x100317750 to 0x10031782c (220 bytes) // // 3 xrefs: // > GJGarageLayer::onArrow @ 0x100304a34 // > GJGarageLayer::setupPage @ 0x100304c20 // > GJGarageLayer::getItems_1 @ 0x1003058c8 // // 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 __fastcall GameManager::countForType(GameManager *a1, IconType a2) { if ( a2 > Robot ) { if ( a2 > 97 ) { switch ( a2 ) { case DeathEffect: return 20; case Special: return 7; case ShipFire: return 6; } } else { switch ( a2 ) { case Spider: return 69; case Swing: return 43; case Jetpack: return 8; } } return 0; } if ( a2 <= Ball ) { switch ( a2 ) { case Cube: return 485; case Ship: return 169; case Ball: return 118; } return 0; } if ( a2 == Ufo ) return 149; if ( a2 == Wave ) return 96; return 68; }
GD Web Decomp Icon

GD Web Decomp

Raw Source