//
// sub_10001876C from 0x10001876c to 0x1000187c0 (84 bytes)
//
// 2 xrefs:
// > GJEffectManager::resetEffects @ 0x10000ef3c
// > sub_100126FE8 @ 0x100126ffc
//
// 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 sub_10001876C(__int64 a1)
{
__int64 v2; // x8
__int64 i; // x9
if ( *(_QWORD *)(a1 + 24) )
{
sub_100017B58(a1, *(_QWORD **)(a1 + 16));
*(_QWORD *)(a1 + 16) = 0;
v2 = *(_QWORD *)(a1 + 8);
if ( v2 )
{
for ( i = 0; i != v2; ++i )
*(_QWORD *)(*(_QWORD *)a1 + 8 * i) = 0;
}
*(_QWORD *)(a1 + 24) = 0;
}
}