//
// ArtTriggerGameObject::create from 0x1001ecf40 to 0x1001ecfe6 (166 bytes)
//
// 1 xrefs:
// > GameObject::createWithKey @ 0x10059d52e
//
// 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 *__fastcall ArtTriggerGameObject::create(const char *a1)
{
ArtTriggerGameObject *v1; // rbx
v1 = (ArtTriggerGameObject *)operator new(0x730u);
EffectGameObject::EffectGameObject(v1);
v1->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (ArtTriggerGameObject_vtbl *)off_1008D5B30;
v1->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)off_1008D6278;
v1->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)off_1008D62F8;
v1->m_artIndex = 0;
if ( EnhancedGameObject::init(v1, a1) )
{
v1->m_classType = Effect;
v1->m_triggerTargetColor.b = -1;
*(_WORD *)&v1->m_triggerTargetColor.r = -1;
v1->m_duration = 0.5;
v1->m_legacyHSV = 1;
cocos2d::CCObject::autorelease(v1);
}
else
{
((void (__fastcall *)(ArtTriggerGameObject *))v1->~ArtTriggerGameObject_0)(v1);
return nullptr;
}
return v1;
}