//
// GameObject::updateParticleOpacity from 0x1002f8e08 to 0x1002f8e90 (136 bytes)
//
// 47 xrefs:
// > ??> @ 0x10091c740
// > ??> @ 0x1009289c0
// > ??> @ 0x1009291b8
// > ??> @ 0x1009299d8
// > ??> @ 0x10094d998
// > ??> @ 0x10094e1e0
// > ??> @ 0x10094e9e8
// > ??> @ 0x10094f1f0
// > ??> @ 0x10094f9f8
// > ??> @ 0x100950200
// > ??> @ 0x100950a08
// > ??> @ 0x100951210
// > ??> @ 0x100952228
// > ??> @ 0x100952aa0
// > ??> @ 0x1009532c0
// > ??> @ 0x100953ae0
// > ??> @ 0x100954300
// > ??> @ 0x100954b20
// > ??> @ 0x100955340
// > ??> @ 0x100955b60
// > ??> @ 0x100956380
// > ??> @ 0x100956ba0
// > ??> @ 0x1009573c0
// > ??> @ 0x100957bf8
// > ??> @ 0x100958460
// > ??> @ 0x100958c98
// > ??> @ 0x1009594d0
// > ??> @ 0x100959d08
// > ??> @ 0x10095a540
// > ??> @ 0x10095ad60
// > ??> @ 0x10095b580
// > ??> @ 0x10095bda0
// > ??> @ 0x10095c5c0
// > ??> @ 0x10095cde0
// > ??> @ 0x10095d600
// > ??> @ 0x10095de20
// > ??> @ 0x10095e640
// > ??> @ 0x10095ee60
// > ??> @ 0x10095f680
// > ??> @ 0x10095fea0
// > ??> @ 0x1009606c0
// > ??> @ 0x100960ee0
// > ??> @ 0x100961700
// > ??> @ 0x100961f20
// > ??> @ 0x100962740
// > ??> @ 0x100962f60
// > ??> @ 0x10096e360
//
// This function is hookable on this platform (idp: arm, 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:03:01 +0000
//
void __fastcall GameObject::updateParticleOpacity(__int64 *a1, unsigned int a2)
{
__int64 v3; // x0
v3 = a1[97];
if ( a2 <= 0x32 && v3 )
{
if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)v3 + 1264LL))(v3) )
cocos2d::CCParticleSystem::stopSystem(a1[97]);
}
else if ( v3
&& (*(unsigned int (__fastcall **)(__int64 *))(*a1 + 352))(a1)
&& ((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1[97] + 1264LL))(a1[97]) & 1) == 0 )
{
cocos2d::CCParticleSystem::resumeSystem(a1[97]);
}
}