//
// sub_10042F930 from 0x10042f930 to 0x10042f9d9 (169 bytes)
//
// 1 xrefs:
// > SFXBrowser::init @ 0x10042da01
//
// 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:30:21 +0000
//
void __fastcall sub_10042F930(__int64 a1)
{
__int64 v2; // rdi
__int64 v3; // r8
__int64 v4; // rbx
_WORD v5[8]; // [rsp+8h] [rbp-28h] BYREF
void *__p; // [rsp+18h] [rbp-18h]
v2 = *(_QWORD *)(a1 + 712);
if ( v2 && *(_DWORD *)(v2 + 140) == 4 && *(_QWORD *)(a1 + 1016) )
{
*(_DWORD *)(a1 + 1028) = 0;
if ( sub_1006696B0(v2) )
v3 = *(unsigned int *)(sub_1006696B0(*(_QWORD *)(a1 + 712)) + 76);
else
v3 = 0;
v5[0] = 0;
v4 = SFXFolderPickerPopup::create(1, v5, a1 + 1000, a1 + 704, v3);
if ( (v5[0] & 1) != 0 )
operator delete(__p);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 1312LL))(v4);
}
}