//
// GJItemIcon::darkenStoreItem from 0x8baae4 to 0x8bab2c (72 bytes)
//
// 5 xrefs:
// > GJItemIcon::changeToLockedState @ 0x8bad18
// > GJGarageLayer::setupSpecialPage @ 0x8c0464
// > GJShopLayer::didPurchaseItem @ 0xa7d3f4
// > GJShopLayer::init @ 0xa7fbc0
// > ??> @ 0x104d40
//
// 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 12:56:27 +0000
//
cocos2d::CCArray *__fastcall GJItemIcon::darkenStoreItem(__int64 a1, GJItemIcon *this)
{
unsigned __int64 v3; // x0
__int64 v5; // [xsp+28h] [xbp+28h]
v3 = GJItemIcon::unlockedColorForType((GJItemIcon *)(unsigned int)this);
LOWORD(v5) = v3;
BYTE2(v5) = BYTE2(v3);
return GJItemIcon::darkenStoreItem(a1, v5);
}