//
// sub_E1AE0C from 0xe1ae0c to 0xe1ae64 (88 bytes)
//
// 15 xrefs:
// > sub_DEC04C @ 0xdec0a4
// > sub_DEC768 @ 0xdec8ac
// > sub_DEC768 @ 0xdec8ec
// > sub_DEC91C @ 0xdec990
// > sub_DEC91C @ 0xdecc8c
// > sub_DF9B64 @ 0xdfd468
// > sub_E05EAC @ 0xe05ecc
// > sub_E05F04 @ 0xe060fc
// > sub_E05F04 @ 0xe061e4
// > sub_E0B168 @ 0xe0b294
// > sub_E2F0F4 @ 0xe2f14c
// > sub_E30AD0 @ 0xe30b08
// > sub_E30B50 @ 0xe30bd0
// > sub_E30C40 @ 0xe30d44
// > sub_E30D50 @ 0xe30e58
//
// 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:43 +0000
//
__int64 __fastcall sub_E1AE0C(__int64 result)
{
__int64 v1; // x19
__int64 v2; // x21
void (*v3)(void *); // x1
__int64 v4; // x0
v1 = result;
if ( result )
{
do
{
v2 = *(_QWORD *)(v1 + 8);
off_154A3C8(*(void **)v1);
v3 = off_154A3C8;
v4 = v1;
*(_QWORD *)v1 = 0;
v1 = v2;
result = ((__int64 (__fastcall *)(__int64))v3)(v4);
}
while ( v2 );
}
return result;
}