//
// SelectArtLayer::create from 0x10020d6f4 to 0x10020d7c8 (212 bytes)
//
// 5 xrefs:
// > SetupSmartBlockLayer::onSelectPremade @ 0x100078628
// > LevelSettingsLayer::onBGArt @ 0x10020cc4c
// > LevelSettingsLayer::onGArt @ 0x10020cc88
// > LevelSettingsLayer::onFGArt @ 0x10020ccec
// > sub_100491CDC @ 0x100491d04
//
// This function is hookable on this platform (idp: arm, 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:01:01 +0000
//
char *__fastcall SelectArtLayer::create(__int64 a1, __int64 a2)
{
char *v4; // x19
v4 = (char *)operator new(0x2C0u);
FLAlertLayer::FLAlertLayer((__int64)v4);
*(_QWORD *)v4 = off_1008F67B0;
*((_QWORD *)v4 + 40) = off_1008F6D00;
*((_QWORD *)v4 + 41) = &off_1008F6D70;
*((_QWORD *)v4 + 42) = off_1008F6D88;
*((_QWORD *)v4 + 43) = off_1008F6DA8;
*((_QWORD *)v4 + 44) = off_1008F6DD0;
*((_QWORD *)v4 + 51) = off_1008F6E00;
*((_QWORD *)v4 + 54) = off_1008F6E80;
*((_QWORD *)v4 + 68) = off_1008F6EA0;
*((_DWORD *)v4 + 170) = 0;
*(_OWORD *)(v4 + 664) = 0u;
*(_QWORD *)(v4 + 684) = 1;
*((_QWORD *)v4 + 87) = 0;
if ( (unsigned int)SelectArtLayer::init(v4, a1, a2) )
{
cocos2d::CCObject::autorelease((__int64)v4);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v4 + 16LL))(v4);
return nullptr;
}
return v4;
}