//
// GJEffectManager::removePersistentFromAllTimers from 0x1002d7240 to 0x1002d72a7 (103 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::activatePersistentItemTrigger @ 0x10012b4a7
//
// 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:15 +0000
//
void __fastcall GJEffectManager::removePersistentFromAllTimers(_QWORD *a1)
{
_QWORD *v2; // rdi
_QWORD *v3; // r14
__int64 v4; // rsi
if ( a1[102] )
{
v2 = (_QWORD *)a1[101];
if ( v2 )
{
do
{
v3 = (_QWORD *)*v2;
operator delete(v2);
v2 = v3;
}
while ( v3 );
}
a1[101] = 0;
v4 = a1[100];
if ( v4 )
__bzero(a1[99], 8 * v4);
a1[102] = 0;
}
}