//
// SelectSFXSortLayer::create from 0x6c5088 to 0x6c511c (148 bytes)
//
// 2 xrefs:
// > MusicBrowser::onSorting @ 0x6bd224
// > SFXBrowser::onSorting @ 0x6c5132
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:56:54 +0000
//
FLAlertLayer *__fastcall SelectSFXSortLayer::create(int a1)
{
FLAlertLayer *v2; // r4
int v3; // r3
FLAlertLayer *v4; // r0
v2 = (FLAlertLayer *)operator new(0x210u);
FLAlertLayer::FLAlertLayer(v2);
*(_DWORD *)v2 = &off_CE5510;
*((_DWORD *)v2 + 66) = &off_CE57B8;
*((_DWORD *)v2 + 67) = &off_CE57F0;
*((_DWORD *)v2 + 68) = &off_CE57FC;
*((_DWORD *)v2 + 69) = &off_CE580C;
*((_DWORD *)v2 + 70) = &off_CE5820;
*((_DWORD *)v2 + 79) = &off_CE5838;
*((_DWORD *)v2 + 83) = &off_CE5878;
*((_DWORD *)v2 + 110) = &off_CE5888;
*((_DWORD *)v2 + 130) = 0;
*((_DWORD *)v2 + 131) = 0;
if ( SelectSFXSortLayer::init((int)v2, a1) )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
v3 = *(_DWORD *)v2;
v4 = v2;
v2 = nullptr;
(*(void (__fastcall **)(FLAlertLayer *))(v3 + 8))(v4);
}
return v2;
}