//
// sub_100025DFC from 0x100025dfc to 0x100025e50 (84 bytes)
//
// 2 xrefs:
// > sub_100025DBC @ 0x100025dd8
// > LevelEditorLayer::onPlaytest @ 0x1004047a4
//
// 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 10:57:25 +0000
//
void __fastcall sub_100025DFC(__int64 *a1)
{
__int64 v2; // x8
__int64 v3; // x20
__int64 v4; // x21
void *v5; // x0
void *v6; // t1
v3 = *a1;
v2 = a1[1];
if ( v2 != *a1 )
{
v4 = a1[1];
do
{
v6 = *(void **)(v4 - 24);
v4 -= 24;
v5 = v6;
if ( v6 )
{
*(_QWORD *)(v2 - 16) = v5;
operator delete(v5);
}
v2 = v4;
}
while ( v4 != v3 );
}
a1[1] = v3;
}