//
// sub_E5CE4 from 0xe5ce4 to 0xe5d54 (112 bytes)
//
// 1 xrefs:
// > ??> @ 0x10f338
//
// 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
//
__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;
}