//
// sub_10071FA90 from 0x10071fa90 to 0x10071fb24 (148 bytes)
//
// 1 xrefs:
// > DS_Dictionary::saveRootSubDictToFile @ 0x10015a979
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:36:13 +0000
//
bool __fastcall sub_10071FA90(unsigned __int64 *a1, const char *a2, const char *a3, unsigned int a4, unsigned int a5)
{
const char *v9; // rsi
FILE *v10; // rax
FILE *v11; // r12
int v12; // ebx
_QWORD v14[7]; // [rsp+8h] [rbp-38h] BYREF
v9 = "w";
if ( (a4 & 0x20) == 0 )
v9 = "wb";
v10 = fopen(a2, v9);
if ( !v10 )
return 0;
v11 = v10;
v14[0] = off_100B99B70;
v14[1] = v10;
sub_10071F720(a1, (__int64)v14, a3, a4, a5);
v12 = ferror(v11);
fclose(v11);
return v12 == 0;
}