//
// sub_D78734 from 0xd78734 to 0xd7877c (72 bytes)
//
// 1 xrefs:
// > ??> @ 0x1122440
//
// 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
//
char *__fastcall sub_D78734(__int64 a1, char *s, int n)
{
char *result; // x0
*s = 0;
result = fgets(s, n, *(FILE **)(a1 + 48));
if ( result )
{
result = nullptr;
if ( *s )
return (char *)strlen(s);
}
return result;
}