//
// sub_E26018 from 0xe26018 to 0xe26090 (120 bytes)
//
// 1 xrefs:
// > sub_E1251C @ 0xe1299c
//
// 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:48 +0000
//
void __fastcall sub_E26018(__int64 a1, __int64 a2)
{
_QWORD *v2; // x4
_QWORD *v3; // x2
_QWORD **v5; // x0
_QWORD *v6; // x0
v2 = *(_QWORD **)(a2 + 1144);
v3 = (_QWORD *)*v2;
if ( *v2 )
{
while ( *v3 != a1 )
{
v3 = (_QWORD *)v3[2];
if ( !v3 )
return;
}
sub_E0F820(v2, (__int64)v3, *(_QWORD **)(a2 + 1152), *(_QWORD *)(*(_QWORD *)(a2 + 1152) + 8LL));
v5 = **(_QWORD ****)(a2 + 1144);
if ( v5 )
{
v6 = *v5;
*(_BYTE *)(a2 + 1137) = 0;
sub_E11B04(v6, 0);
}
}
}