//
// sub_E629C from 0xe629c to 0xe62e0 (68 bytes)
//
// 1 xrefs:
// > ??> @ 0x10f3e8
//
// 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_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;
}