//
// GameToolbox::showSaveFileDialog from 0x1004f62d0 to 0x1004f62fa (42 bytes)
//
// 3 xrefs:
// > GJKeybindManager::exportBindingsToFile @ 0x100619417
// > sub_100656110 @ 0x1006561a8
// > sub_1006CE060 @ 0x1006ce16b
//
// 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:31:26 +0000
//
bool __fastcall GameToolbox::showSaveFileDialog(__int64 a1, __int64 a2, __int64 a3, __int64 a4, unsigned __int8 *a5)
{
if ( (*a5 & 1) != 0 )
{
**((_BYTE **)a5 + 2) = 0;
*((_QWORD *)a5 + 1) = 0;
}
else
{
*(_WORD *)a5 = 0;
}
return sub_1004BE130(a1, a2, a3, a4, a5);
}