//
// ParticleGameObject::updateParticlePreviewArtOpacity from 0x3e7204 to 0x3e7268 (100 bytes)
//
// 1 xrefs:
// > LevelEditorLayer::updatePreviewParticle @ 0x368fbe
//
// 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::updateParticlePreviewArtOpacity(ParticleGameObject *a1, float a2)
{
cocos2d::CCNode *v4; // r0
cocos2d::CCSprite *m_colorSprite; // r0
int v6; // r0
v4 = a1->getChildByTag(a1, 1);
if ( v4 )
((void (__fastcall *)(cocos2d::CCNode *, _DWORD))v4->__vftable[1].~CCNode_0)(v4, (unsigned __int8)(unsigned int)a2);
m_colorSprite = a1->m_colorSprite;
if ( m_colorSprite )
{
v6 = (int)m_colorSprite->getChildByTag(m_colorSprite, 1);
if ( v6 )
(*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v6 + 448))(v6, (unsigned __int8)(unsigned int)a2);
}
}