// // SpawnTriggerGameObject::triggerObject from 0x74b244 to 0x74b2f8 (180 bytes) // // 2 xrefs: // > @ 0x5f760 // > @ 0x116eb50 // // 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) { GJBaseGameLayer *v5; // x0 float m_spawnDelay; // s8 float v7; // s0 float v8; // s0 double v9; // d0 float v10; // s0 v5 = a2; m_spawnDelay = a1->m_spawnDelay; if ( !a2 || a1->m_delayRange == 0.0 || a2->m_isEditor > (unsigned int)(a2->m_playbackMode == Playing) ) { v9 = m_spawnDelay; } else { v7 = GameToolbox::fast_rand_minus1_1(); v5 = a2; v8 = m_spawnDelay + (float)(v7 * a1->m_delayRange); if ( v8 < 0.0 ) v9 = 0.0; else v9 = v8; } v10 = v9 - a1->m_currentDelay; GJBaseGameLayer::spawnGroupTriggered( v5, a1->m_targetGroupID, v10, 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