//
// GameObject::updateParticleOpacity from 0x10068e0e0 to 0x10068e162 (130 bytes)
//
// 47 xrefs:
// > ??> @ 0x100ac7d20
// > ??> @ 0x100ac8568
// > ??> @ 0x100ac8d70
// > ??> @ 0x100ac9578
// > ??> @ 0x100ac9d80
// > ??> @ 0x100aca588
// > ??> @ 0x100acad90
// > ??> @ 0x100acb598
// > ??> @ 0x100acc5b0
// > ??> @ 0x100acce38
// > ??> @ 0x100acd658
// > ??> @ 0x100acde78
// > ??> @ 0x100ace698
// > ??> @ 0x100aceeb8
// > ??> @ 0x100acf6d8
// > ??> @ 0x100acfef8
// > ??> @ 0x100ad0718
// > ??> @ 0x100ad0f38
// > ??> @ 0x100ad1758
// > ??> @ 0x100ad1f90
// > ??> @ 0x100ad27f8
// > ??> @ 0x100ad3030
// > ??> @ 0x100ad3868
// > ??> @ 0x100ad40a0
// > ??> @ 0x100ad48d8
// > ??> @ 0x100ad50f8
// > ??> @ 0x100ad5918
// > ??> @ 0x100ad6138
// > ??> @ 0x100ad6958
// > ??> @ 0x100ad7178
// > ??> @ 0x100ad7998
// > ??> @ 0x100ad81b8
// > ??> @ 0x100ad89d8
// > ??> @ 0x100ad91f8
// > ??> @ 0x100ad9a18
// > ??> @ 0x100ada238
// > ??> @ 0x100adaa58
// > ??> @ 0x100adb278
// > ??> @ 0x100adba98
// > ??> @ 0x100adc2b8
// > ??> @ 0x100adcad8
// > ??> @ 0x100add2f8
// > ??> @ 0x100b2bec0
// > ??> @ 0x100b3d958
// > ??> @ 0x100b844e8
// > ??> @ 0x100b84ce0
// > ??> @ 0x100b85500
//
// 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 12:35:06 +0000
//
char __fastcall GameObject::updateParticleOpacity(_QWORD *a1, unsigned __int8 a2, double a3)
{
__int64 v4; // rdi
char result; // al
v4 = a1[97];
result = v4 == 0;
if ( v4 == 0 || a2 >= 0x33u )
{
if ( v4 )
{
result = (*(__int64 (__fastcall **)(_QWORD *))(*a1 + 352LL))(a1);
if ( result )
{
result = (*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)a1[97] + 1264LL))(a1[97]);
if ( !result )
return cocos2d::CCParticleSystem::resumeSystem(a1[97], a3);
}
}
}
else
{
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 1264LL))(v4);
if ( result )
return cocos2d::CCParticleSystem::stopSystem(a1[97]);
}
return result;
}