// // GameObject::updateParticleColor from 0x352748 to 0x352810 (200 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 GameObject::updateParticleColor(GameObject *a1, const cocos2d::ccColor3B *a2) { cocos2d::CCParticleSystemQuad *m_particle; // r0 void (__fastcall *setStartColor)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r3 float g; // s14 int b; // s15 int r; // r2 cocos2d::CCParticleSystemQuad *v9; // r0 float v10; // s14 int v11; // s15 void (__fastcall *setEndColor)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r3 int v13; // s13 float v14; // [sp+4h] [bp-18h] BYREF float v15; // [sp+8h] [bp-14h] float v16; // [sp+Ch] [bp-10h] int v17; // [sp+10h] [bp-Ch] m_particle = a1->m_particle; if ( m_particle ) { setStartColor = m_particle->setStartColor; g = (float)a2->g; b = a2->b; r = a2->r; v17 = 1065353216; v15 = g / 255.0; v16 = (float)b / 255.0; v14 = (float)r / 255.0; setStartColor(m_particle, (const cocos2d::ccColor4F *)&v14); v9 = a1->m_particle; v10 = (float)a2->g; v11 = a2->b; setEndColor = v9->setEndColor; v13 = a2->r; v17 = 0; v15 = v10 / 255.0; v16 = (float)v11 / 255.0; v14 = (float)v13 / 255.0; setEndColor(v9, (const cocos2d::ccColor4F *)&v14); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source