//
// ArtTriggerGameObject::create from 0x3ec8cc to 0x3ec92c (96 bytes)
//
// 1 xrefs:
// > GameObject::createWithKey @ 0x3622b6
//
// 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
//
ArtTriggerGameObject *ArtTriggerGameObject::create(const char *a1)
{
ArtTriggerGameObject *v2; // r4
ArtTriggerGameObject_vtbl *v3; // r3
ArtTriggerGameObject *v4; // r0
v2 = (ArtTriggerGameObject *)operator new(0x668u);
EffectGameObject::EffectGameObject(v2);
v2->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (ArtTriggerGameObject_vtbl *)&off_A5B118;
v2->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A5B4BC;
v2->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)&off_A5B4FC;
v2->m_artIndex = 0;
if ( ArtTriggerGameObject::init(v2, a1) )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
v3 = v2->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v4 = v2;
v2 = nullptr;
v3->~ArtTriggerGameObject_0(v4);
}
return v2;
}