//
// GJEffectManager::resetToggledGroups from 0xa021b0 to 0xa02218 (104 bytes)
//
// 2 xrefs:
// > GJEffectManager::resetEffects @ 0xa07f7c
// > ??> @ 0xff7d8
//
// 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 12:59:20 +0000
//
__int64 __fastcall GJEffectManager::resetToggledGroups(GJEffectManager *this)
{
unsigned __int64 v2; // x1
__int64 v4; // [xsp+28h] [xbp+28h] BYREF
int v5; // [xsp+30h] [xbp+30h]
v2 = *((_QWORD *)this + 127);
if ( v2 )
{
v4 = *((_QWORD *)this + 126);
v5 = 0;
std::__fill_n_true>(&v4, v2);
}
std::__hash_table,std::equal_to,std::allocator>::clear((_QWORD *)this + 129);
return _stack_chk_guard;
}