//
// GJItemIcon::darkenStoreItem_1 from 0x100357950 to 0x1003579ad (93 bytes)
//
// 2 xrefs:
// > GJShopLayer::init @ 0x10030f736
// > GJShopLayer::didPurchaseItem @ 0x100310dc0
//
// 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:52 +0000
//
__int64 __fastcall GJItemIcon::darkenStoreItem_1(__int64 a1, int a2)
{
__int64 result; // rax
switch ( a2 )
{
case 1:
result = GJItemIcon::darkenStoreItem(a1, 1318410);
break;
case 2:
result = GJItemIcon::darkenStoreItem(a1, 4331041);
break;
case 3:
result = GJItemIcon::darkenStoreItem(a1, 2626580);
break;
case 4:
result = GJItemIcon::darkenStoreItem(a1, 3284500);
break;
case 5:
result = GJItemIcon::darkenStoreItem(a1, 3289650);
break;
default:
result = GJItemIcon::darkenStoreItem(a1, 1318460);
break;
}
return result;
}