//
// GJItemIcon::scaleForType from 0x140384140 to 0x14038419c (92 bytes)
//
// 1 xrefs:
// > GJGarageLayer::getItems @ 0x14037f2b2
//
// 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 11:31:06 +0000
//
float __fastcall GJItemIcon::scaleForType(int a1)
{
float result; // xmm0_4
switch ( a1 )
{
case 1:
case 7:
case 10:
case 11:
case 12:
case 15:
result = 0.80000001;
break;
case 4:
case 14:
result = 0.60000002;
break;
case 5:
result = 0.75;
break;
case 6:
result = 0.68000001;
break;
case 8:
case 9:
result = 0.64999998;
break;
case 13:
result = 0.69999999;
break;
default:
result = 1.0;
break;
}
return result;
}