// // GJItemIcon::changeToLockedState from 0x50bc3c to 0x50bcd4 (152 bytes) // // 4 xrefs: // > GJGarageLayer::getItems @ 0x50ed72 // > GJGarageLayer::setupSpecialPage @ 0x50f180 // > ShardsPage::init @ 0x62c174 // > GJPathPage::init @ 0x6d4000 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:51:28 +0000 // int __fastcall GJItemIcon::changeToLockedState(GJItemIcon *this, float a2) { const char *v4; // r1 int v5; // r4 void (__fastcall *v6)(int, int); // r7 int v7; // r0 int (__fastcall *v8)(int, _BYTE *); // r2 _BYTE v10[4]; // [sp+0h] [bp-Ch] BYREF GJItemIcon::darkenStoreItem((int)this, (GJItemIcon *)&byte_5); v5 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_lockGray_001.png", v4); (*(void (__fastcall **)(GJItemIcon *, int, int))(*(_DWORD *)this + 232))(this, v5, 10); v6 = *(void (__fastcall **)(int, int))(*(_DWORD *)v5 + 92); v7 = (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 127) + 96))(*((_DWORD *)this + 127)); v6(v5, v7); (*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v5 + 80))(v5, a2 * 0.8); (*(void (__fastcall **)(int, int))(*(_DWORD *)v5 + 456))(v5, 200); v8 = *(int (__fastcall **)(int, _BYTE *))(*(_DWORD *)v5 + 480); memset(v10, 175, 3); return v8(v5, v10); }
GD Web Decomp Icon

GD Web Decomp

Raw Source