//
// sub_7885AC from 0x7885ac to 0x78860c (96 bytes)
//
// 2 xrefs:
// > processTrace @ 0x7bb9cc
// > processTrace @ 0x7bdae0
//
// 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:53:25 +0000
//
void __fastcall sub_7885AC(_QWORD *a1)
{
_QWORD *v1; // x19
char *v2; // x0
_QWORD *v3; // x20
char *v4; // x2
void *v5; // x0
v1 = a1;
if ( a1 )
{
do
{
v2 = (char *)v1[3];
v3 = (_QWORD *)*v1;
if ( v2 )
{
v4 = (char *)v1[4];
if ( v2 != v4 )
v1[4] = &v4[8 * ~((unsigned __int64)(v4 - 8 - v2) >> 3)];
operator delete(v2);
}
v5 = v1;
v1 = v3;
operator delete(v5);
}
while ( v3 );
}
}