//
// GJEffectManager::removePersistentFromAllTimers from 0x1002ec600 to 0x1002ec667 (103 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::activatePersistentItemTrigger @ 0x10014d637
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall GJEffectManager::removePersistentFromAllTimers(GJEffectManager *a1)
{
std::__hash_node_base *>::__next_pointer next; // rdi
std::__hash_node_base *> *v3; // r14
unsigned __int64 value; // rsi
if ( a1->m_persistentTimerItemSet.__table_.__p2_.__value_ )
{
next = a1->m_persistentTimerItemSet.__table_.__p1_.__value_.__next_;
if ( next )
{
do
{
v3 = next->__next_;
operator delete(next);
next = v3;
}
while ( v3 );
}
a1->m_persistentTimerItemSet.__table_.__p1_.__value_.__next_ = nullptr;
value = a1->m_persistentTimerItemSet.__table_.__bucket_list_.__ptr_.__value_.__data_.__value_;
if ( value )
__bzero(a1->m_persistentTimerItemSet.__table_.__bucket_list_.__ptr_.__value_, 8 * value);
a1->m_persistentTimerItemSet.__table_.__p2_.__value_ = 0;
}
}