//
// GJItemIcon::changeToLockedState from 0x1003a2b04 to 0x1003a2be0 (220 bytes)
//
// 4 xrefs:
// > GJGarageLayer::setupSpecialPage @ 0x1003a2324
// > GJGarageLayer::getItems @ 0x1003a2560
// > ShardsPage::init @ 0x1004493f4
// > sub_10045F6C4 @ 0x100460394
//
// 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:47 +0000
//
__int64 __fastcall GJItemIcon::changeToLockedState(_QWORD **a1, float a2)
{
void *v4; // x20
__int64 v5; // x0
__int16 v7; // [xsp+Ch] [xbp-24h] BYREF
char v8; // [xsp+Eh] [xbp-22h]
GJItemIcon::darkenStoreItem(a1, 3289650);
v4 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)"GJ_lockGray_001.png");
((void (__fastcall *)(_QWORD **, void *, __int64))(*a1)[58])(a1, v4, 10);
v5 = (*(__int64 (__fastcall **)(_QWORD *))(*a1[75] + 192LL))(a1[75]);
(*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v4 + 184LL))(v4, v5);
(*(void (__fastcall **)(void *, float))(*(_QWORD *)v4 + 160LL))(v4, a2 * 0.8);
(*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v4 + 912LL))(v4, 200);
v8 = -81;
v7 = -20561;
return (*(__int64 (__fastcall **)(void *, __int16 *))(*(_QWORD *)v4 + 960LL))(v4, &v7);
}