//
// sub_10025309C from 0x10025309c to 0x1002530f0 (84 bytes)
//
// 2 xrefs:
// > sub_10025305C @ 0x100253078
// > LevelEditorLayer::onPlaytest @ 0x100362c0c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall sub_10025309C(__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;
}