//
// sub_6F3134 from 0x6f3134 to 0x6f31d4 (160 bytes)
//
// 2 xrefs:
// > EffectManagerState::operator= @ 0x7027d8
// > PlayLayer::createCheckpoint @ 0x710780
//
// 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:51:49 +0000
//
void __fastcall sub_6F3134(_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 );
}
}