//
// sub_1005F2B60 from 0x1005f2b60 to 0x1005f2be3 (131 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:34:16 +0000
//
void __fastcall sub_1005F2B60(__int64 a1, unsigned __int8 *a2, __int64 a3)
{
void **v3; // rbx
void **v4; // r14
void *v5; // rdi
void *__p; // [rsp+0h] [rbp-40h] BYREF
void **v7; // [rsp+8h] [rbp-38h]
sub_1005C67B0((__int64)&__p, a2, ",", a3);
processEffectManagerState((__int64)&__p, a1);
v3 = (void **)__p;
if ( __p )
{
v4 = v7;
v5 = __p;
if ( v7 != __p )
{
do
{
if ( (*(_BYTE *)(v4 - 3) & 1) != 0 )
operator delete(*(v4 - 1));
v4 -= 3;
}
while ( v4 != v3 );
v5 = __p;
}
v7 = v3;
operator delete(v5);
}
}