// // SpawnTriggerGameObject::triggerObject from 0x1404b91f0 to 0x1404b9306 (278 bytes) // // 2 xrefs: // > @ 0x14061d120 // > @ 0x1406dccb0 // // 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_delayRange; // xmm3_4 float m_spawnDelay; // xmm2_4 _BOOL8 m_spawnOrdered; // r8 __int64 m_targetGroupID; // rdx float v10; // xmm2_4 m_delayRange = a1->m_delayRange; m_spawnDelay = a1->m_spawnDelay; if ( m_delayRange != 0.0 && a2 && (!a2->m_isEditor || a2->m_playbackMode == Playing) ) { qword_1406C2E90 = 214013 * qword_1406C2E90 + 2531011; m_spawnDelay = fmaxf( 0.0, (float)((float)((float)((float)((float)(((unsigned __int64)qword_1406C2E90 >> 16) & 0x7FFF) / 32767.0) + (float)((float)(((unsigned __int64)qword_1406C2E90 >> 16) & 0x7FFF) / 32767.0)) - 1.0) * m_delayRange) + m_spawnDelay); } m_spawnOrdered = a1->m_spawnOrdered; m_targetGroupID = (unsigned int)a1->m_targetGroupID; v10 = m_spawnDelay - a1->m_currentDelay; if ( v10 > 0.0 ) GJEffectManager::spawnGroup( a2->m_effectManager, m_targetGroupID, v10, m_spawnOrdered, &a1->m_remapKeys, a1->m_uniqueID, a1->m_controlID); else ((void (__fastcall *)(TriggerEffectDelegate *, __int64, _BOOL8))a2->spawnGroup)( &a2->TriggerEffectDelegate, m_targetGroupID, m_spawnOrdered); a1->m_currentDelay = 0.0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source