//
// sub_BC25C8 from 0xbc25c8 to 0xbc2608 (64 bytes)
//
// 1 xrefs:
// > lws_plat_init @ 0xbc2d88
//
// 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_BC25C8(int a1, int fd, ssize_t *a3, void *buf, size_t n)
{
ssize_t v6; // x0
ssize_t v7; // x1
v6 = write(fd, buf, n);
if ( v6 == -1 )
v7 = 0;
else
v7 = v6;
*a3 = v7;
if ( v6 == -1 )
return 0xFFFFFFFFLL;
else
return 0;
}