//
// sub_E629C from 0xe629c to 0xe62e0 (68 bytes)
//
// 1 xrefs:
// > ??> @ 0x10f3e8
//
// 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_E629C(__int64 a1, __int64 a2, __int64 a3, char a4)
{
__int64 v4; // x19
int v5; // w21
const void *v7; // x0
size_t v8; // x1
size_t v9; // x2
FILE *v10; // x3
v7 = (const void *)sub_E62E4();
if ( fwrite(v7, v8, v9, v10) != v5 || (a4 & 1) != 0 && fflush(*(FILE **)(v4 + 8)) )
return 13;
else
return 0;
}