//
// sub_BFBEE from 0xbfbee to 0xbfc20 (50 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:41:48 +0000
//
int __fastcall sub_BFBEE(int a1, void *ptr, size_t a3, int a4)
{
if ( fwrite(ptr, 1u, a3, *(FILE **)(a1 + 4)) != a3 || a4 && fflush(*(FILE **)(a1 + 4)) )
return 13;
else
return 0;
}