//
// LevelSettingsLayer::create from 0x6acc08 to 0x6acd24 (284 bytes)
//
// 1 xrefs:
// > EditorUI::onSettings @ 0x4810a6
//
// 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:36 +0000
//
FLAlertLayer *__fastcall LevelSettingsLayer::create(const char **this, LevelSettingsObject *a2, LevelEditorLayer *a3)
{
FLAlertLayer *v5; // r4
int v6; // r3
int *v7; // r0
v5 = (FLAlertLayer *)operator new(0x280u);
FLAlertLayer::FLAlertLayer(v5);
*(_DWORD *)v5 = &off_CDB960;
*((_DWORD *)v5 + 66) = &off_CDBC20;
*((_DWORD *)v5 + 67) = &off_CDBC58;
*((_DWORD *)v5 + 68) = &off_CDBC64;
*((_DWORD *)v5 + 69) = &off_CDBC74;
*((_DWORD *)v5 + 70) = &off_CDBC88;
*((_DWORD *)v5 + 79) = &off_CDBCA0;
*((_DWORD *)v5 + 83) = &off_CDBCE0;
*((_DWORD *)v5 + 110) = &off_CDBCF0;
*((_DWORD *)v5 + 130) = &off_CDBD14;
*((_DWORD *)v5 + 131) = &off_CDBD20;
*((_DWORD *)v5 + 132) = &off_CDBD2C;
*((_DWORD *)v5 + 133) = &off_CDBD38;
*((_DWORD *)v5 + 134) = &off_CDBD44;
*((_DWORD *)v5 + 135) = 0;
*((_DWORD *)v5 + 136) = 0;
*((_DWORD *)v5 + 137) = 0;
*((_DWORD *)v5 + 138) = 0;
*((_DWORD *)v5 + 139) = 0;
*((_DWORD *)v5 + 140) = 0;
*((_DWORD *)v5 + 141) = 0;
*((_DWORD *)v5 + 142) = 0;
*((_DWORD *)v5 + 143) = 0;
*((_DWORD *)v5 + 144) = 0;
*((_DWORD *)v5 + 145) = 0;
*((_DWORD *)v5 + 146) = 0;
*((_DWORD *)v5 + 147) = 0;
*((_DWORD *)v5 + 148) = 0;
*((_DWORD *)v5 + 149) = 0;
*((_DWORD *)v5 + 150) = 0;
*((_DWORD *)v5 + 151) = 0;
*((_DWORD *)v5 + 152) = 0;
*((_DWORD *)v5 + 153) = 0;
*((_DWORD *)v5 + 154) = 0;
*((_DWORD *)v5 + 155) = 0;
*((_DWORD *)v5 + 156) = 0;
*((_DWORD *)v5 + 157) = 0;
*((_DWORD *)v5 + 158) = 0;
*((_BYTE *)v5 + 636) = 0;
if ( LevelSettingsLayer::init(v5, this, a2) )
{
cocos2d::CCObject::autorelease(v5);
}
else
{
v6 = *(_DWORD *)v5;
v7 = (int *)v5;
v5 = nullptr;
(*(void (__fastcall **)(int *))(v6 + 8))(v7);
}
return v5;
}