//
// CameraTriggerGameObject::create from 0x3ec39c to 0x3ec424 (136 bytes)
//
// 1 xrefs:
// > GameObject::createWithKey @ 0x3624aa
//
// 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
//
CameraTriggerGameObject *CameraTriggerGameObject::create(const char *a1)
{
CameraTriggerGameObject *v2; // r4
CameraTriggerGameObject_vtbl *v3; // r3
int *v4; // r0
v2 = (CameraTriggerGameObject *)operator new(0x680u);
EffectGameObject::EffectGameObject(v2);
v2->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (CameraTriggerGameObject_vtbl *)&off_A59D18;
v2->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A5A0BC;
v2->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)&off_A5A0FC;
v2->m_exitStatic = 0;
v2->m_followObject = 0;
v2->m_followEasing = 1.0;
v2->m_edgeDirection = 0;
v2->m_smoothVelocity = 0;
v2->m_velocityModifier = 0.0;
v2->m_exitInstant = 0;
v2->m_previewOpacity = 1.0;
if ( CameraTriggerGameObject::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->~CameraTriggerGameObject_0((CameraTriggerGameObject *)v4);
}
return v2;
}