//
// GameToolbox::showFolderDialog from 0x1004f6390 to 0x1004f63b8 (40 bytes)
//
// 2 xrefs:
// > sub_1005BD440 @ 0x1005bd468
// > sub_1006CE060 @ 0x1006ce108
//
// 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
//
__int64 __fastcall GameToolbox::showFolderDialog(void (__fastcall *a1)(_QWORD), unsigned __int8 *a2, double a3)
{
if ( (*a2 & 1) != 0 )
{
**((_BYTE **)a2 + 2) = 0;
*((_QWORD *)a2 + 1) = 0;
}
else
{
*(_WORD *)a2 = 0;
}
return sub_1004BEF90(a1, a2, a3);
}