//
// sub_E5CE4 from 0xe5ce4 to 0xe5d54 (112 bytes)
//
// 1 xrefs:
// > ??> @ 0x10f338
//
// 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 12:14:59 +0000
//
__int64 __fastcall sub_E5CE4(__int64 a1, __int64 a2, _DWORD *a3)
{
__int64 v3; // x21
__int64 v6; // x0
int v7; // w8
v3 = *(__int64 *)((char *)&qword_1C0 + (_QWORD)off_114000);
if ( !v3 )
return 18;
if ( !*(_QWORD *)v3 )
return 18;
v6 = (*(__int64 (__fastcall **)(_QWORD, __int64, _QWORD))(v3 + 24))(*(_QWORD *)v3, a2 + 22, 0);
*(_QWORD *)(a1 + 8) = v6;
if ( !v6 )
return 18;
v7 = (*(__int64 (**)(void))(v3 + 56))();
*a3 = v7;
return 0;
}