//
// GameManager::activeIconForType from 0x100369f60 to 0x10036a029 (201 bytes)
//
// 5 xrefs:
// > GJGarageLayer::onArrow @ 0x100355efb
// > GJGarageLayer::setupPage @ 0x1003561c9
// > GJGarageLayer::setupSpecialPage @ 0x100356848
// > GJGarageLayer::setupSpecialPage @ 0x100356994
// > GJGarageLayer::getItems_1 @ 0x10035724b
//
// This function is hookable on this platform (idp: pc, 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 12:28:59 +0000
//
__int64 __fastcall GameManager::activeIconForType(_DWORD *a1, int a2)
{
__int64 result; // rax
result = 0;
switch ( a2 )
{
case 0:
result = (unsigned int)(a1[179] - a1[180]);
break;
case 1:
result = (unsigned int)(a1[182] - a1[183]);
break;
case 2:
result = (unsigned int)(a1[185] - a1[186]);
break;
case 3:
result = (unsigned int)(a1[188] - a1[189]);
break;
case 4:
result = (unsigned int)(a1[191] - a1[192]);
break;
case 5:
result = (unsigned int)(a1[194] - a1[195]);
break;
case 6:
result = (unsigned int)(a1[197] - a1[198]);
break;
case 7:
result = (unsigned int)(a1[200] - a1[201]);
break;
case 8:
result = (unsigned int)(a1[221] - a1[222]);
break;
case 98:
result = (unsigned int)(a1[218] - a1[219]);
break;
case 99:
result = (unsigned int)(a1[212] - a1[213]);
break;
case 101:
result = (unsigned int)(a1[215] - a1[216]);
break;
default:
return result;
}
return result;
}