//
// GameManager::countForType from 0x1003b44d4 to 0x1003b45b0 (220 bytes)
//
// 4 xrefs:
// > ProfilePage::loadPageFromUserInfo @ 0x10022bde8
// > GJGarageLayer::onArrow @ 0x1003a1744
// > GJGarageLayer::setupPage @ 0x1003a1930
// > GJGarageLayer::getItems_1 @ 0x1003a25d8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:03:56 +0000
//
__int64 __fastcall GameManager::countForType(__int64 a1, int a2)
{
if ( a2 > 5 )
{
if ( a2 > 97 )
{
switch ( a2 )
{
case 'b':
return 20;
case 'c':
return 7;
case 'e':
return 6;
}
}
else
{
switch ( a2 )
{
case 6:
return 69;
case 7:
return 43;
case 8:
return 8;
}
}
return 0;
}
if ( a2 <= 2 )
{
switch ( a2 )
{
case 0:
return 485;
case 1:
return 169;
case 2:
return 118;
}
return 0;
}
if ( a2 == 3 )
return 149;
if ( a2 == 4 )
return 96;
return 68;
}