//
// GauntletSprite::init from 0x4da5e8 to 0x4da63e (86 bytes)
//
// 1 xrefs:
// > GauntletSprite::create @ 0x4da678
//
// 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)
{
_BOOL4 v6; // r6
GauntletSprite_vtbl *v7; // r3
void (__fastcall *setContentSize)(cocos2d::CCNode *__hidden, const cocos2d::CCSize *); // r9
cocos2d::CCSize v10; // [sp+4h] [bp-10h] BYREF
v6 = cocos2d::CCNode::init(a1);
if ( v6 )
{
v7 = a1->__vftable;
a1->m_gauntletType = a2;
setContentSize = v7->setContentSize;
cocos2d::CCSize::CCSize(&v10, 60.0, 60.0);
setContentSize(a1, &v10);
GauntletSprite::toggleLockedSprite(a1, a3);
}
return v6;
}