//
// RingObject::create from 0x1404a1c50 to 0x1404a1cf2 (162 bytes)
//
// 3 xrefs:
// > GameObject::createWithKey @ 0x14018c3b0
// > GameObject::createWithKey @ 0x14018cb95
// > ??> @ 0x1406dc71c
//
// 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
//
// Hidden C++ exception states: #wind=1
RingObject *RingObject::create(const char *a1)
{
RingObject *v2; // rdi
v2 = (RingObject *)operator new(0x748u);
EffectGameObject::EffectGameObject(v2);
v2->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (RingObject_vtbl *)&RingObject::`vftable';
v2->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&RingObject::`vftable';
v2->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)&RingObject::`vftable';
*(_WORD *)&v2->m_claimTouch = 0;
if ( EffectGameObject::init(v2, a1) )
{
v2->m_customGlowColor = 1;
v2->m_isTouchTriggered = 1;
cocos2d::CCObject::autorelease(v2);
return v2;
}
else
{
((void (__fastcall *)(RingObject *, __int64))v2->~RingObject)(v2, 1);
return nullptr;
}
}