//
// SFXBrowser::create from 0x10042bf40 to 0x10042bf9a (90 bytes)
//
// 2 xrefs:
// > SetupSFXPopup::onBrowseSFX @ 0x1004b2ee9
// > EditorSFXActionConfigLayer::onAddSound @ 0x1008df9ed
//
// 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:20 +0000
//
void *__fastcall SFXBrowser::create(unsigned int a1, unsigned int a2)
{
void *v2; // rbx
v2 = operator new(0x470u);
SFXBrowser::SFXBrowser(v2);
if ( (unsigned __int8)SFXBrowser::init(v2, a1, a2) )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
return v2;
}