//
// sub_9F83D4 from 0x9f83d4 to 0x9f8474 (160 bytes)
//
// 4 xrefs:
// > GJEffectManager::~GJEffectManager @ 0x9fbf74
// > GJEffectManager::resetEffects @ 0xa08070
// > std::__ndk1::__hash_table>>,std::__ndk1::__unordered_map_hasher>>,std::__ndk1::hash,true>,std::__ndk1::__unordered_map_equal>>,std::__ndk1::equal_to,true>,std::__ndk1::allocator>>>>::__assign_multi>>,void *> *>> @ 0xa17314
// > std::__ndk1::__hash_table>>,std::__ndk1::__unordered_map_hasher>>,std::__ndk1::hash,true>,std::__ndk1::__unordered_map_equal>>,std::__ndk1::equal_to,true>,std::__ndk1::allocator>>>>::__assign_multi>>,void *> *>> @ 0xa173c8
//
// 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:15 +0000
//
void __fastcall sub_9F83D4(_QWORD *a1)
{
_QWORD *v1; // x22
_QWORD *v2; // x19
_QWORD *v3; // x21
_QWORD *v4; // x2
char *v5; // x0
char *v6; // x3
void *v7; // x0
v1 = a1;
if ( a1 )
{
do
{
v2 = (_QWORD *)v1[3];
v3 = (_QWORD *)*v1;
if ( v2 )
{
v4 = (_QWORD *)v1[4];
if ( v2 != v4 )
{
do
{
v1[4] = v4 - 8;
v5 = (char *)*(v4 - 3);
if ( v5 )
{
v6 = (char *)*(v4 - 2);
if ( v5 != v6 )
*(v4 - 2) = &v6[4 * ~((unsigned __int64)(v6 - 4 - v5) >> 2)];
operator delete(v5);
}
v4 = (_QWORD *)v1[4];
}
while ( v2 != v4 );
v4 = (_QWORD *)v1[3];
}
operator delete(v4);
}
v7 = v1;
v1 = v3;
operator delete(v7);
}
while ( v3 );
}
}