//
// SFXFolderPickerPopup::create from 0x100971700 to 0x100971776 (118 bytes)
//
// 3 xrefs:
// > sub_10042F250 @ 0x10042f316
// > sub_10042F930 @ 0x10042f9ad
// > SFXBrowser::cellPerformedAction @ 0x100434e5f
//
// 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:38:53 +0000
//
void *__fastcall SFXFolderPickerPopup::create(unsigned int a1, __int64 a2, __int64 a3, __int64 a4, unsigned int a5)
{
unsigned int v5; // eax
void *v8; // rbx
unsigned __int64 v10; // [rsp-4h] [rbp-30h]
v10 = __PAIR64__(a5, v5);
v8 = operator new(0x310u);
SFXFolderPickerPopup::SFXFolderPickerPopup(v8);
if ( (unsigned __int8)SFXFolderPickerPopup::init(v8, a1, a2, a3, a4, HIDWORD(v10), v10) )
{
cocos2d::CCObject::autorelease((__int64)v8);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v8 + 16LL))(v8);
return nullptr;
}
return v8;
}