//
// GradientTriggerObject::create from 0x3e6bfc to 0x3e6c86 (138 bytes)
//
// 1 xrefs:
// > GameObject::createWithKey @ 0x362502
//
// 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
//
GradientTriggerObject *GradientTriggerObject::create()
{
GradientTriggerObject *v0; // r4
GradientTriggerObject_vtbl *v1; // r3
int *v2; // r0
v0 = (GradientTriggerObject *)operator new(0x688u);
EffectGameObject::EffectGameObject(v0);
v0->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GradientTriggerObject_vtbl *)&off_A54510;
v0->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)&off_A548F4;
v0->m_blendingLayer = 0;
v0->m_blendingMode = 0;
v0->m_gradientID = 0;
v0->m_upBottomLeftID = 0;
v0->m_downBottomRightID = 0;
v0->m_leftTopLeftID = 0;
v0->m_rightTopRightID = 0;
v0->m_vertexMode = 0;
v0->m_disable = 0;
v0->m_disableAll = 0;
v0->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A548B4;
v0->m_previewOpacity = 1.0;
if ( GradientTriggerObject::init(v0) )
{
cocos2d::CCObject::autorelease(v0);
}
else
{
v1 = v0->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v2 = (int *)v0;
v0 = nullptr;
v1->~GradientTriggerObject_0((GradientTriggerObject *)v2);
}
return v0;
}