//
// GauntletSprite::init from 0x91e1fc to 0x91e2a8 (172 bytes)
//
// 2 xrefs:
// > GauntletSprite::create @ 0x91e300
// > ??> @ 0xc8a78
//
// 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
//
bool GauntletSprite::init(GauntletSprite *a1, GauntletType a2, bool a3)
{
bool v5; // w20
GauntletSprite_vtbl *v6; // x2
void (__fastcall *setContentSize)(cocos2d::CCNode *__hidden, const cocos2d::CCSize *); // x23
cocos2d::CCSize v10; // [xsp+50h] [xbp+50h] BYREF
v5 = cocos2d::CCNode::init(a1);
if ( v5 )
{
v6 = a1->__vftable;
a1->m_gauntletType = a2;
setContentSize = v6->setContentSize;
cocos2d::CCSize::CCSize(&v10, 60.0, 60.0);
setContentSize(a1, &v10);
GauntletSprite::toggleLockedSprite(a1, a3);
}
return v5;
}