//
// sub_5FC5F4 from 0x5fc5f4 to 0x5fc648 (84 bytes)
//
// 3 xrefs:
// > DS_Dictionary::saveRootSubDictToFile @ 0x5fc8ae
// > DS_Dictionary::copyFile @ 0x5fc996
// > DS_Dictionary::saveRootSubDictToCompressedFile @ 0x5fcb4e
//
// 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
//
_DWORD *__fastcall sub_5FC5F4(_DWORD *a1, int a2, int a3, int a4)
{
_BOOL4 v5; // r6
int v8; // [sp+4h] [bp-10h]
char v9; // [sp+Bh] [bp-9h] BYREF
v8 = a4;
LOBYTE(v5) = a4;
if ( a2 && !(_BYTE)a4 )
{
sub_76174C(a2, a3, &v9);
v5 = v9 == 0;
}
LOBYTE(v8) = v5;
*a1 = a3;
a1[1] = v8;
return a1;
}