//
// GauntletSprite::toggleLockedSprite from 0x4da330 to 0x4da352 (34 bytes)
//
// 2 xrefs:
// > GauntletLayer::unlockActiveItem @ 0x4da394
// > GauntletSprite::init @ 0x4da626
//
// 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 GauntletSprite::toggleLockedSprite(GauntletSprite *a1, bool a2)
{
_BOOL4 v3; // r5
v3 = a2;
a1->removeAllChildren(a1);
if ( v3 )
GauntletSprite::addLockedSprite(a1);
else
GauntletSprite::addNormalSprite(a1);
}