//
// sub_10071FBD0 from 0x10071fbd0 to 0x10071fc54 (132 bytes)
//
// 2 xrefs:
// > DS_Dictionary::saveRootSubDictToCompressedFile @ 0x10015b583
// > DS_Dictionary::saveRootSubDictToString @ 0x10015bc5d
//
// 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
//
_QWORD *__fastcall sub_10071FBD0(_QWORD *a1, unsigned __int64 *a2, const char *a3, unsigned int a4, unsigned int a5)
{
__int64 (__fastcall **v6)(); // [rsp+0h] [rbp-30h] BYREF
__int128 v7; // [rsp+8h] [rbp-28h]
void *__p; // [rsp+18h] [rbp-18h]
v6 = &off_100B99C48;
v7 = 0;
__p = nullptr;
sub_10071F720(a2, (__int64)&v6, a3, a4, a5);
if ( (v7 & 1) != 0 )
{
sub_10001AD30(a1, __p, *((unsigned __int64 *)&v7 + 1));
v6 = &off_100B99C48;
if ( (v7 & 1) != 0 )
operator delete(__p);
}
else
{
a1[2] = __p;
*(_OWORD *)a1 = v7;
}
return a1;
}