//
// sub_E1209C from 0xe1209c to 0xe1212c (144 bytes)
//
// 1 xrefs:
// > sub_DF954C @ 0xdf9568
//
// 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 13:09:39 +0000
//
_QWORD *__fastcall sub_E1209C(_QWORD *result)
{
__int64 v1; // x2
_QWORD *v2; // x20
__int64 v3; // x21
__int64 v4; // x19
int v5; // w2
v1 = result[12];
if ( v1 )
{
v2 = result + 4096;
if ( result[4490] || result[4491] )
{
v3 = (__int64)result;
v4 = result[4498];
v5 = sub_E191E0(*(_QWORD *)(v1 + 128), result + 4492, v1 + 128);
if ( !v5 )
goto LABEL_7;
sub_DF16E0(v3, "Internal error clearing splay node = %d\n", v5);
for ( result = *(_QWORD **)(v4 + 24); result; result = *(_QWORD **)(v4 + 24) )
{
sub_E0F69C(v4, *(_QWORD **)(v4 + 8), 0);
LABEL_7:
;
}
v2[394] = 0;
v2[395] = 0;
}
}
return result;
}