//
// GameObject::updateParticleOpacity from 0x76d678 to 0x76d710 (152 bytes)
//
// 48 xrefs:
// > ??> @ 0x871c0
// > ??> @ 0x1433918
// > ??> @ 0x1434708
// > ??> @ 0x1434ee8
// > ??> @ 0x14356f8
// > ??> @ 0x1443a58
// > ??> @ 0x1444268
// > ??> @ 0x1444a78
// > ??> @ 0x1445288
// > ??> @ 0x1445a98
// > ??> @ 0x14462a8
// > ??> @ 0x1446ab8
// > ??> @ 0x14472c8
// > ??> @ 0x14482b8
// > ??> @ 0x1448ac8
// > ??> @ 0x14492d8
// > ??> @ 0x1449ae8
// > ??> @ 0x144a338
// > ??> @ 0x144ab48
// > ??> @ 0x144b358
// > ??> @ 0x144bb68
// > ??> @ 0x144c378
// > ??> @ 0x144cb98
// > ??> @ 0x144d3a8
// > ??> @ 0x144dbb8
// > ??> @ 0x144e3c8
// > ??> @ 0x144ebd8
// > ??> @ 0x144f3e8
// > ??> @ 0x144fbf8
// > ??> @ 0x1450408
// > ??> @ 0x1450c18
// > ??> @ 0x1451428
// > ??> @ 0x1451c38
// > ??> @ 0x1452448
// > ??> @ 0x1452c58
// > ??> @ 0x1453468
// > ??> @ 0x1453c78
// > ??> @ 0x1454488
// > ??> @ 0x1454c98
// > ??> @ 0x14554a8
// > ??> @ 0x1455cb8
// > ??> @ 0x14564c8
// > ??> @ 0x1456cd8
// > ??> @ 0x14574e8
// > ??> @ 0x1457cf8
// > ??> @ 0x1458508
// > ??> @ 0x1458d18
// > ??> @ 0x1459548
//
// 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 12:53:11 +0000
//
__int64 __fastcall GameObject::updateParticleOpacity(__int64 this, unsigned __int8 a2)
{
__int64 v2; // x3
__int64 v3; // x19
v2 = *(_QWORD *)(this + 776);
if ( v2 )
{
v3 = this;
if ( a2 <= 0x32u )
{
this = (*(unsigned __int8 (__fastcall **)(_QWORD))(*(_QWORD *)v2 + 1264LL))(*(_QWORD *)(this + 776));
if ( (_BYTE)this )
return cocos2d::CCParticleSystem::stopSystem(*(cocos2d::CCParticleSystem **)(v3 + 776));
}
else
{
this = (*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)this + 352LL))(this);
if ( (_BYTE)this )
{
this = (*(unsigned __int8 (__fastcall **)(_QWORD))(**(_QWORD **)(v3 + 776) + 1264LL))(*(_QWORD *)(v3 + 776));
if ( !(_BYTE)this )
return cocos2d::CCParticleSystem::resumeSystem(*(cocos2d::CCParticleSystem **)(v3 + 776));
}
}
}
return this;
}