//
// SelectArtLayer::create from 0x6a9df4 to 0x6a9e9e (170 bytes)
//
// 5 xrefs:
// > SetupSmartBlockLayer::onSelectPremade @ 0x672764
// > LevelSettingsLayer::onBGArt @ 0x6a9eb6
// > LevelSettingsLayer::onFGArt @ 0x6a9edc
// > LevelSettingsLayer::onGArt @ 0x6a9f14
// > SetupArtSwitchPopup::onArt @ 0x6b2fbc
//
// 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:34 +0000
//
FLAlertLayer *__fastcall SelectArtLayer::create(int a1, int a2)
{
FLAlertLayer *v4; // r4
int v5; // r3
FLAlertLayer *v6; // r0
v4 = (FLAlertLayer *)operator new(0x220u);
FLAlertLayer::FLAlertLayer(v4);
*(_DWORD *)v4 = &off_CDBD50;
*((_DWORD *)v4 + 66) = &off_CDBFF8;
*((_DWORD *)v4 + 67) = &off_CDC030;
*((_DWORD *)v4 + 68) = &off_CDC03C;
*((_DWORD *)v4 + 69) = &off_CDC04C;
*((_DWORD *)v4 + 70) = &off_CDC060;
*((_DWORD *)v4 + 79) = &off_CDC078;
*((_DWORD *)v4 + 83) = &off_CDC0B8;
*((_DWORD *)v4 + 110) = &off_CDC0C8;
*((_DWORD *)v4 + 133) = 1;
*((_DWORD *)v4 + 130) = 0;
*((_DWORD *)v4 + 131) = 0;
*((_DWORD *)v4 + 132) = 0;
*((_DWORD *)v4 + 134) = 0;
*((_DWORD *)v4 + 135) = 0;
if ( SelectArtLayer::init((int)v4, a1, a2) )
{
cocos2d::CCObject::autorelease(v4);
}
else
{
v5 = *(_DWORD *)v4;
v6 = v4;
v4 = nullptr;
(*(void (__fastcall **)(FLAlertLayer *))(v5 + 8))(v6);
}
return v4;
}