//
// ParticleGameObject::updateParticlePreviewArtOpacity from 0x100381894 to 0x100381918 (132 bytes)
//
// 1 xrefs:
// > LevelEditorLayer::updatePreviewParticle @ 0x10035e268
//
// 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 __fastcall ParticleGameObject::updateParticlePreviewArtOpacity(ParticleGameObject *a1, float a2)
{
__int64 v4; // x0
cocos2d::CCSprite *m_colorSprite; // x0
__int64 v6; // x0
v4 = ((__int64 (__fastcall *)(ParticleGameObject *, __int64))a1->getChildByTag)(a1, 1);
if ( v4 )
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v4 + 896LL))(v4, (unsigned int)(int)a2);
m_colorSprite = a1->m_colorSprite;
if ( m_colorSprite )
{
v6 = ((__int64 (__fastcall *)(cocos2d::CCSprite *, __int64))m_colorSprite->getChildByTag)(m_colorSprite, 1);
if ( v6 )
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v6 + 896LL))(v6, (unsigned int)(int)a2);
}
}