//
// SelectSettingLayer::create from 0x14045c2e0 to 0x14045c3f8 (280 bytes)
//
// 4 xrefs:
// > LevelSettingsLayer::onSpeed @ 0x14045a2bb
// > LevelSettingsLayer::onMode @ 0x14045a317
// > SetupAudioLineGuidePopup::onSpeed @ 0x1406070a0
// > ??> @ 0x140927d34
//
// 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:32:32 +0000
//
// Hidden C++ exception states: #wind=1
_QWORD *__fastcall SelectSettingLayer::create(unsigned int a1, unsigned int a2)
{
_QWORD *v4; // rsi
v4 = operator new(0x2B0u);
FLAlertLayer::FLAlertLayer((__int64)v4);
*v4 = &SelectSettingLayer::`vftable';
v4[40] = &SelectSettingLayer::`vftable';
v4[41] = &SelectSettingLayer::`vftable';
v4[42] = &SelectSettingLayer::`vftable';
v4[43] = &SelectSettingLayer::`vftable';
v4[44] = &SelectSettingLayer::`vftable';
v4[51] = &SelectSettingLayer::`vftable';
v4[54] = &SelectSettingLayer::`vftable';
v4[68] = &SelectSettingLayer::`vftable';
v4[83] = 0;
*((_DWORD *)v4 + 168) = 0;
v4[85] = 0;
if ( (unsigned __int8)SelectSettingLayer::init(v4, a1, a2) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4);
return v4;
}
else
{
(*(void (__fastcall **)(_QWORD *, __int64))(*v4 + 8LL))(v4, 1);
return nullptr;
}
}