//
// cocos2d::CCParticleSystem::setEndColor from 0x5da9de to 0x5da9ec (14 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 cocos2d::CCParticleSystem::setEndColor(cocos2d::CCParticleSystem *a1, const cocos2d::ccColor4F *a2)
{
cocos2d::ccColor4F *p_m_tEndColor; // r4
GLfloat r; // r0
GLfloat g; // r1
GLfloat v5; // r2
GLfloat v6; // r3
GLfloat *p_g; // t0
p_m_tEndColor = &a1->m_tEndColor;
r = a2->r;
p_g = &a2->g;
g = a2->g;
v5 = *++p_g;
v6 = p_g[1];
p_m_tEndColor->r = r;
p_m_tEndColor->g = g;
p_m_tEndColor->b = v5;
p_m_tEndColor->a = v6;
}