//
// SongTriggerGameObject::create from 0x3eb9e8 to 0x3eba54 (108 bytes)
//
// 1 xrefs:
// > GameObject::createWithKey @ 0x3624da
//
// 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
//
SongTriggerGameObject *SongTriggerGameObject::create(const char *a1)
{
SongTriggerGameObject *v2; // r4
SongTriggerGameObject_vtbl *v3; // r3
SongTriggerGameObject *v4; // r0
v2 = (SongTriggerGameObject *)operator new(0x6F0u);
SFXTriggerGameObject::SFXTriggerGameObject(v2);
v2->SFXTriggerGameObject::EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (SongTriggerGameObject_vtbl *)&off_A58118;
v2->SFXTriggerGameObject::EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A584BC;
v2->SFXTriggerGameObject::EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)&off_A584FC;
v2->m_unk7a9 = 0;
v2->m_prep = 0;
v2->m_loadPrep = 0;
v2->m_songChannel = 0;
if ( SongTriggerGameObject::init(v2, a1) )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
v3 = v2->SFXTriggerGameObject::EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v4 = v2;
v2 = nullptr;
v3->~SongTriggerGameObject_0(v4);
}
return v2;
}