//
// sub_10071FB30 from 0x10071fb30 to 0x10071fbc4 (148 bytes)
//
// 0 xrefs:
//
// 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_10071FB30(unsigned __int64 *a1, unsigned int *a2, const char *a3, unsigned int a4, unsigned int a5)
{
void *v9; // rsi
FILE *v10; // rax
FILE *v11; // r12
int v12; // ebx
_QWORD v14[7]; // [rsp+8h] [rbp-38h] BYREF
v9 = &unk_100A11E70;
if ( (a4 & 0x20) == 0 )
v9 = &unk_100A11E78;
v10 = sub_10071F350(a2, (__int64)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;
}