//
// GJItemIcon::changeToLockedState from 0x1003579d0 to 0x100357a7c (172 bytes)
//
// 2 xrefs:
// > GJPathPage::init @ 0x1002eadc4
// > ShardsPage::init @ 0x1004c0e7a
//
// 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::changeToLockedState(_QWORD **a1, double a2)
{
char *v3; // rbx
__int64 v4; // rax
__int16 v6; // [rsp+Ch] [rbp-14h] BYREF
char v7; // [rsp+Eh] [rbp-12h]
GJItemIcon::darkenStoreItem(a1, 3289650);
v3 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)"GJ_lockGray_001.png", a2);
((void (__fastcall *)(_QWORD **, char *, __int64))(*a1)[58])(a1, v3, 10);
v4 = (*(__int64 (__fastcall **)(_QWORD *))(*a1[75] + 192LL))(a1[75]);
(*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v3 + 184LL))(v3, v4);
(*(void (__fastcall **)(char *, float))(*(_QWORD *)v3 + 160LL))(v3, *(float *)&a2 * 0.80000001);
(*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v3 + 912LL))(v3, 200);
v7 = -81;
v6 = -20561;
return (*(__int64 (__fastcall **)(char *, __int16 *))(*(_QWORD *)v3 + 960LL))(v3, &v6);
}