//
// ParticleGameObject::updateParticlePreviewArtOpacity from 0x1404a0b50 to 0x1404a0bcd (125 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::updatePreviewParticle @ 0x1402e16cb
// > ??> @ 0x1406dc560
//
// 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 *v3; // rax
int v4; // edi
cocos2d::CCSprite *m_colorSprite; // rcx
__int64 v6; // rax
v3 = a1->getChildByTag(a1, 1);
v4 = (int)a2;
if ( v3 )
v3[1].encodeWithCoder(v3 + 1, (DS_Dictionary *)(unsigned __int8)v4);
m_colorSprite = a1->m_colorSprite;
if ( m_colorSprite )
{
v6 = (__int64)m_colorSprite->getChildByTag(m_colorSprite, 1);
if ( v6 )
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(v6 + 320) + 40LL))(v6 + 320, (unsigned __int8)v4);
}
}