// // SpawnTriggerGameObject::triggerObject from 0x3e50d0 to 0x3e5174 (164 bytes) // // 0 xrefs: // // 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 // void SpawnTriggerGameObject::triggerObject( SpawnTriggerGameObject *a1, GJBaseGameLayer *a2, int a3, std::vector *const a4) { float m_spawnDelay; // s16 float v7; // s15 m_spawnDelay = a1->m_spawnDelay; if ( a1->m_delayRange != 0.0 && a2 && (!a2->m_isEditor || a2->m_playbackMode == Playing) ) { m_spawnDelay = m_spawnDelay + (float)(GameToolbox::fast_rand_minus1_1() * a1->m_delayRange); if ( m_spawnDelay < 0.0 ) m_spawnDelay = 0.0; } v7 = m_spawnDelay - a1->m_currentDelay; GJBaseGameLayer::spawnGroupTriggered( a2, a1->m_targetGroupID, v7, a1->m_spawnOrdered, &a1->m_remapKeys, a1->m_uniqueID, a1->m_controlID); a1->m_currentDelay = 0.0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source