//
// ParticleGameObject::particleWasActivated from 0x1004277d8 to 0x100427878 (160 bytes)
//
// 1 xrefs:
// > ??> @ 0x100951918
//
// 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:05:02 +0000
//
void __fastcall ParticleGameObject::particleWasActivated(__int64 a1)
{
__int64 v2; // x0
float v3; // s8
int v4; // w20
if ( *(_BYTE *)(a1 + 1776) == 1 )
{
v2 = *(_QWORD *)(a1 + 776);
if ( v2 )
{
if ( cocos2d::CCParticleSystem::getTimeElapsed(v2) <= 0.0 )
{
v3 = 0.2;
if ( (float)((*(float (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 776) + 968LL))(*(_QWORD *)(a1 + 776)) / 10.0) < 0.2 )
v3 = (*(float (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 776) + 968LL))(*(_QWORD *)(a1 + 776)) / 10.0;
v4 = 10;
do
{
(*(void (__fastcall **)(_QWORD, float))(**(_QWORD **)(a1 + 776) + 40LL))(*(_QWORD *)(a1 + 776), v3);
--v4;
}
while ( v4 );
}
}
}
}