//
// CameraTriggerGameObject::create from 0x1001ddde0 to 0x1001ddeb2 (210 bytes)
//
// 1 xrefs:
// > GameObject::createWithKey @ 0x10059d505
//
// 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 *__fastcall CameraTriggerGameObject::create(const char *a1)
{
CameraTriggerGameObject *v1; // rbx
v1 = (CameraTriggerGameObject *)operator new(0x748u);
EffectGameObject::EffectGameObject(v1);
v1->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (CameraTriggerGameObject_vtbl *)off_1008D32E0;
v1->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)off_1008D3A28;
v1->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)off_1008D3AA8;
*(_WORD *)&v1->m_exitStatic = 0;
*(_QWORD *)&v1->m_followEasing = 1065353216;
v1->m_smoothVelocity = 0;
v1->m_velocityModifier = 0.0;
v1->m_exitInstant = 0;
v1->m_previewOpacity = 1.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 *)(CameraTriggerGameObject *))v1->~CameraTriggerGameObject_0)(v1);
return nullptr;
}
return v1;
}