//
// GameObject::updateParticleOpacity from 0x140295b60 to 0x140295bd7 (119 bytes)
//
// 47 xrefs:
// > ??> @ 0x140754c48
// > ??> @ 0x1407553c8
// > ??> @ 0x14075e790
// > ??> @ 0x14075ee98
// > ??> @ 0x1407d4da8
// > ??> @ 0x14081f9d0
// > ??> @ 0x140820218
// > ??> @ 0x140820970
// > ??> @ 0x140821028
// > ??> @ 0x140821790
// > ??> @ 0x140821e48
// > ??> @ 0x140822528
// > ??> @ 0x140822be0
// > ??> @ 0x1408234f0
// > ??> @ 0x140823c38
// > ??> @ 0x1408242f0
// > ??> @ 0x140824ae8
// > ??> @ 0x1408251a0
// > ??> @ 0x140825858
// > ??> @ 0x1408260c8
// > ??> @ 0x1408268c0
// > ??> @ 0x140827068
// > ??> @ 0x140827798
// > ??> @ 0x140827e50
// > ??> @ 0x1408285a8
// > ??> @ 0x140828df0
// > ??> @ 0x1408294a8
// > ??> @ 0x140829c28
// > ??> @ 0x14082a3a8
// > ??> @ 0x14082aa60
// > ??> @ 0x14082b118
// > ??> @ 0x14082bb28
// > ??> @ 0x14082c258
// > ??> @ 0x14082c910
// > ??> @ 0x14082cfc8
// > ??> @ 0x14082d680
// > ??> @ 0x14082de50
// > ??> @ 0x14082e5f8
// > ??> @ 0x14082ecb0
// > ??> @ 0x14082f368
// > ??> @ 0x14082fa20
// > ??> @ 0x1408300d8
// > ??> @ 0x140830790
// > ??> @ 0x140830e48
// > ??> @ 0x140831668
// > ??> @ 0x140831de8
// > ??> @ 0x14091d624
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:29:10 +0000
//
void __fastcall GameObject::updateParticleOpacity(cocos2d::CCParticleSystem **a1, unsigned __int8 a2)
{
cocos2d::CCParticleSystem *v3; // rcx
v3 = a1[97];
if ( v3 )
{
if ( a2 > 0x32u )
{
if ( (*((unsigned __int8 (__fastcall **)(cocos2d::CCParticleSystem **))*a1 + 43))(a1)
&& !(*(unsigned __int8 (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)a1[97] + 1256LL))(a1[97]) )
{
cocos2d::CCParticleSystem::resumeSystem(a1[97]);
}
}
else if ( (*(unsigned __int8 (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v3 + 1256LL))(v3) )
{
cocos2d::CCParticleSystem::stopSystem(a1[97]);
}
}
}