//
// sub_E6224 from 0xe6224 to 0xe6270 (76 bytes)
//
// 1 xrefs:
// > ??> @ 0x10f3d8
//
// 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_E6224(__int64 a1, __int64 a2, __int64 a3, _DWORD *a4)
{
__int64 v4; // x19
int v5; // w21
void *v7; // x0
size_t v8; // x1
size_t v9; // x2
FILE *v10; // x3
int v11; // w0
v7 = (void *)sub_E62E4();
v11 = fread(v7, v8, v9, v10);
*a4 = v11;
if ( v11 == v5 )
return 0;
if ( feof(*(FILE **)(v4 + 8)) )
return 16;
return 13;
}