//
// RingObject::create from 0x10038250c to 0x1003825b8 (172 bytes)
//
// 2 xrefs:
// > GameObject::createWithKey @ 0x100254524
// > GameObject::createWithKey @ 0x10025474c
//
// 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
//
RingObject *__fastcall RingObject::create(const char *a1)
{
RingObject *v2; // x19
v2 = (RingObject *)operator new(0x730u);
EffectGameObject::EffectGameObject(v2);
v2->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (RingObject_vtbl *)&off_1007FE1D8;
v2->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)off_1007FE920;
v2->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)off_1007FE9A0;
*(_WORD *)&v2->m_claimTouch = 0;
if ( EnhancedGameObject::init(v2, a1) )
{
v2->m_classType = Effect;
v2->m_triggerTargetColor.b = -1;
*(_WORD *)&v2->m_triggerTargetColor.r = -1;
v2->m_duration = 0.5;
v2->m_legacyHSV = 1;
v2->m_customGlowColor = 1;
v2->m_isTouchTriggered = 1;
cocos2d::CCObject::autorelease(v2);
}
else
{
((void (__fastcall *)(RingObject *))v2->~RingObject_0)(v2);
return nullptr;
}
return v2;
}