//
// SelectSFXSortLayer::create from 0x140620a60 to 0x140620b59 (249 bytes)
//
// 3 xrefs:
// > MusicBrowser::onSorting @ 0x14047defb
// > SFXBrowser::onSorting @ 0x14061f229
// > ??> @ 0x140930434
//
// 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 11:35:22 +0000
//
// Hidden C++ exception states: #wind=1
_QWORD *__fastcall SelectSFXSortLayer::create(unsigned int a1)
{
_QWORD *v2; // rdi
v2 = operator new(0x2A8u);
FLAlertLayer::FLAlertLayer((__int64)v2);
*v2 = &SelectSFXSortLayer::`vftable';
v2[40] = &SelectSFXSortLayer::`vftable';
v2[41] = &SelectSFXSortLayer::`vftable';
v2[42] = &SelectSFXSortLayer::`vftable';
v2[43] = &SelectSFXSortLayer::`vftable';
v2[44] = &SelectSFXSortLayer::`vftable';
v2[51] = &SelectSFXSortLayer::`vftable';
v2[54] = &SelectSFXSortLayer::`vftable';
v2[68] = &SelectSFXSortLayer::`vftable';
*((_DWORD *)v2 + 166) = 0;
v2[84] = 0;
if ( (unsigned __int8)SelectSFXSortLayer::init(v2, a1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
return v2;
}
else
{
(*(void (__fastcall **)(_QWORD *, __int64))(*v2 + 8LL))(v2, 1);
return nullptr;
}
}