//
// GauntletSprite::toggleLockedSprite from 0xa78018 to 0xa78058 (64 bytes)
//
// 3 xrefs:
// > GauntletLayer::unlockActiveItem @ 0xa780c0
// > GauntletSprite::init @ 0xa784b4
// > ??> @ 0x8b858
//
// 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 13:00:27 +0000
//
__int64 __fastcall GauntletSprite::toggleLockedSprite(GauntletSprite *this, unsigned __int8 a2)
{
int v2; // w20
v2 = a2;
(*(void (__fastcall **)(GauntletSprite *))(*(_QWORD *)this + 576LL))(this);
if ( v2 )
return GauntletSprite::addLockedSprite(this);
else
return GauntletSprite::addNormalSprite(this);
}