//
// sub_100604F78 from 0x100604f78 to 0x100604fe0 (104 bytes)
//
// 1 xrefs:
// > ??> @ 0x100863d40
//
// 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_100604F78(__int64 a1)
{
_QWORD *v2; // x20
_QWORD *v3; // x0
v2 = sub_100588710(16, (__int64)"by_dir.c", 151);
if ( !v2 )
return 0;
v3 = sub_1005D9DA0();
*v2 = v3;
if ( v3 )
{
v2[1] = 0;
*(_QWORD *)(a1 + 16) = v2;
return 1;
}
else
{
sub_100588C44(v2);
return 0;
}
}