//
// LevelSettingsLayer::onGArt from 0x10020cc6c to 0x10020ccd0 (100 bytes)
//
// 1 xrefs:
// > LevelSettingsLayer::init @ 0x10020bb2c
//
// 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:00 +0000
//
__int64 __fastcall LevelSettingsLayer::onGArt(__int64 a1)
{
__int64 v2; // x0
_QWORD *v3; // x20
v2 = SelectArtLayer::create(1, *(unsigned int *)(*(_QWORD *)(a1 + 816) + 356LL));
v3 = (_QWORD *)v2;
if ( *(_QWORD *)(v2 + 672) )
{
*(_DWORD *)(v2 + 684) = *(_DWORD *)(*(_QWORD *)(a1 + 816) + 424LL);
sub_10020E4E0(v2, 0);
}
v3[87] = a1 + 672;
return (*(__int64 (__fastcall **)(_QWORD *))(*v3 + 1312LL))(v3);
}