//
// GJItemIcon::changeToLockedState from 0x10036e5b0 to 0x10036e65c (172 bytes)
//
// 2 xrefs:
// > GJPathPage::init @ 0x1003000e4
// > ShardsPage::init @ 0x1004c6aaa
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall GJItemIcon::changeToLockedState(GJItemIcon *a1, float a2)
{
cocos2d::CCSprite *v3; // rbx
__int64 v4; // rax
__int16 v5; // [rsp+Ch] [rbp-14h] BYREF
char v6; // [rsp+Eh] [rbp-12h]
GJItemIcon::darkenStoreItem(a1, (cocos2d::ccColor3B)3289650);
v3 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_lockGray_001.png");
((void (__fastcall *)(GJItemIcon *, cocos2d::CCSprite *, __int64))a1->addChild_0)(a1, v3, 10);
v4 = ((__int64 (__fastcall *)(cocos2d::CCSprite *))a1->m_player->getPosition)(a1->m_player);
((void (__fastcall *)(cocos2d::CCSprite *, __int64))v3->setPosition)(v3, v4);
((void (__fastcall *)(cocos2d::CCSprite *, float))v3->setScale)(v3, a2 * 0.80000001);
((void (__fastcall *)(cocos2d::CCSprite *, __int64))v3->setOpacity)(v3, 200);
v6 = -81;
v5 = -20561;
((void (__fastcall *)(cocos2d::CCSprite *, __int16 *))v3->setColor)(v3, &v5);
}