// // ParticleGameObject::updateSyncedAnimation from 0x74ace8 to 0x74ae54 (364 bytes) // // 2 xrefs: // > @ 0x70038 // > @ 0x1166528 // // 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 ParticleGameObject::updateSyncedAnimation(ParticleGameObject *a1, float a2, int a3) { cocos2d::CCParticleSystemQuad *m_particle; // x1 float m_respawnResult; // s0 float v7; // s9 float v8; // s10 float v9; // s0 float m_fRespawn; // s1 float m_fRespawnVar; // s4 float v12; // s1 m_particle = a1->m_particle; if ( m_particle ) { if ( a1->m_animateOnTrigger ) { if ( a1->m_animationTriggered ) { cocos2d::CCParticleSystem::resetSystem(m_particle); a1->m_animationTriggered = 0; } } else { m_respawnResult = a1->m_respawnResult; if ( m_respawnResult < 0.0 ) { v7 = m_particle->getLife(m_particle); v8 = a1->m_particle->getLifeVar(a1->m_particle); a1->m_particle->getDuration(a1->m_particle); m_particle = a1->m_particle; m_fRespawn = m_particle->m_fRespawn; m_fRespawnVar = m_particle->m_fRespawnVar; qword_1242450 = 214013 * qword_1242450 + 2531011; v12 = m_fRespawn + (float)((float)((float)((float)((float)(((unsigned __int64)qword_1242450 >> 16) & 0x7FFF) / 32767.0) * 2.0) + -1.0) * m_fRespawnVar); if ( v12 <= 0.0 ) v12 = 0.0; if ( a1->m_startingRespawn ) { m_respawnResult = v12 + a2; a1->m_startingRespawn = 0; a1->m_respawnResult = v12 + a2; } else { m_respawnResult = v12 + (float)(a2 + (float)((float)(v7 + v8) + v9)); a1->m_respawnResult = m_respawnResult; } } if ( a2 > m_respawnResult ) { cocos2d::CCParticleSystem::resetSystem(m_particle); a1->m_respawnResult = -1.0; } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source