//
// GameOptionsTrigger::create from 0x3e8994 to 0x3e8a2c (152 bytes)
//
// 1 xrefs:
// > GameObject::createWithKey @ 0x3623f4
//
// 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
//
GameOptionsTrigger *GameOptionsTrigger::create(const char *a1)
{
GameOptionsTrigger *v2; // r4
GameOptionsTrigger_vtbl *v3; // r3
int *v4; // r0
v2 = (GameOptionsTrigger *)operator new(0x6A0u);
EffectGameObject::EffectGameObject(v2);
v2->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GameOptionsTrigger_vtbl *)&off_A57918;
v2->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A57CBC;
v2->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)&off_A57CFC;
v2->m_streakAdditive = Disabled;
v2->m_unlinkDualGravity = Disabled;
v2->m_hideGround = Disabled;
v2->m_hideP1 = Disabled;
v2->m_hideP2 = Disabled;
v2->m_disableP1Controls = Disabled;
v2->m_disableP2Controls = Disabled;
v2->m_hideMG = Disabled;
v2->m_hideAttempts = Disabled;
v2->m_editRespawnTime = Disabled;
v2->m_respawnTime = 0.0;
v2->m_audioOnDeath = Disabled;
v2->m_noDeathSFX = Disabled;
v2->m_boostSlide = Disabled;
if ( GameOptionsTrigger::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->~GameOptionsTrigger_0((GameOptionsTrigger *)v4);
}
return v2;
}