//
// GJEffectManager::removeAllPulseActions from 0x1002ca860 to 0x1002ca93b (219 bytes)
//
// 0 xrefs:
//
// 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:28:10 +0000
//
__int64 __fastcall GJEffectManager::removeAllPulseActions(_QWORD *a1)
{
_QWORD *v2; // r14
__int64 v3; // rsi
__int64 result; // rax
unsigned __int64 i; // rdx
_QWORD *v6; // r15
void *v7; // rdi
a1[44] = a1[43];
if ( a1[49] )
{
v2 = (_QWORD *)a1[48];
if ( v2 )
{
do
{
v6 = (_QWORD *)*v2;
v7 = (void *)v2[3];
if ( v7 )
{
v2[4] = v7;
operator delete(v7);
}
operator delete(v2);
v2 = v6;
}
while ( v6 );
}
a1[48] = 0;
v3 = a1[47];
if ( v3 )
__bzero(a1[46], 8 * v3);
a1[49] = 0;
}
result = a1[86];
for ( i = 0; i != 10000; i += 2LL )
*(_QWORD *)(result + 8 * (i >> 6)) &= ~(1LL << (i & 0x3E)) & ~(2LL << (i & 0x3E));
return result;
}