//
// ParticleGameObject::updateParticlePreviewArtOpacity from 0x754e14 to 0x754e8c (120 bytes)
//
// 3 xrefs:
// > LevelEditorLayer::updatePreviewParticle @ 0x6623e4
// > LevelEditorLayer::updatePreviewParticle @ 0x662424
// > ??> @ 0xa8108
//
// 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; // x0
cocos2d::CCSprite *m_colorSprite; // x0
__int64 v6; // x0
v4 = a1->getChildByTag(a1, 1);
if ( v4 )
((void (__fastcall *)(cocos2d::CCNode *, _QWORD))v4->__vftable[1].~CCNode_0)(v4, (unsigned int)a2);
m_colorSprite = a1->m_colorSprite;
if ( m_colorSprite )
{
v6 = (__int64)m_colorSprite->getChildByTag(m_colorSprite, 1);
if ( v6 )
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v6 + 896LL))(v6, (unsigned int)a2);
}
}