//
// SpawnTriggerGameObject::create from 0x3ebadc to 0x3ebb6e (146 bytes)
//
// 1 xrefs:
// > GameObject::createWithKey @ 0x3624cc
//
// 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
//
SpawnTriggerGameObject *SpawnTriggerGameObject::create()
{
SpawnTriggerGameObject *v0; // r4
SpawnTriggerGameObject_vtbl *v1; // r3
int *v2; // r0
v0 = (SpawnTriggerGameObject *)operator new(0x698u);
EffectGameObject::EffectGameObject(v0);
v0->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (SpawnTriggerGameObject_vtbl *)&off_A57518;
v0->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A578BC;
v0->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)&off_A578FC;
v0->m_remapObjects.m_start = nullptr;
v0->m_remapObjects.m_finish = nullptr;
v0->m_remapObjects.m_reserveEnd = nullptr;
v0->m_remapKey = 0;
v0->m_remapKeys.m_start = nullptr;
v0->m_remapKeys.m_finish = nullptr;
v0->m_remapKeys.m_reserveEnd = nullptr;
v0->m_currentDelay = 0.0;
v0->m_spawnDelay = 0.0;
v0->m_delayRange = 0.0;
v0->m_resetRemap = 0;
if ( SpawnTriggerGameObject::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->~SpawnTriggerGameObject_0((SpawnTriggerGameObject *)v2);
}
return v0;
}