//
// TriggerControlGameObject::create from 0x3eca14 to 0x3eca80 (108 bytes)
//
// 1 xrefs:
// > GameObject::createWithKey @ 0x361f8c
//
// 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
//
TriggerControlGameObject *TriggerControlGameObject::create(const char *a1)
{
TriggerControlGameObject *v2; // r4
TriggerControlGameObject_vtbl *v3; // r3
int *v4; // r0
v2 = (TriggerControlGameObject *)operator new(0x670u);
EffectGameObject::EffectGameObject(v2);
v2->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (TriggerControlGameObject_vtbl *)&off_A5BD18;
v2->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)&off_A5C0FC;
v2->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A5C0BC;
v2->m_triggerControlFrame.m_data.m_data = (stl::StringData::Internal *)&unk_ACDDA8;
v2->m_customTriggerValue = Stop;
if ( TriggerControlGameObject::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 = (int *)v2;
v2 = nullptr;
v3->~TriggerControlGameObject_0((TriggerControlGameObject *)v4);
}
return v2;
}