//
// sub_1005DB904 from 0x1005db904 to 0x1005db95c (88 bytes)
//
// 1 xrefs:
// > ??> @ 0x100861098
//
// 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
//
size_t __fastcall sub_1005DB904(__int64 a1, char *a2, int a3)
{
char *v4; // x8
size_t result; // x0
*a2 = 0;
v4 = fgets(a2, a3, *(FILE **)(a1 + 48));
result = 0;
if ( v4 )
{
if ( *a2 )
return strlen(a2);
else
return 0;
}
return result;
}