//
// LevelSettingsLayer::onFGArt from 0x14045af00 to 0x14045af4c (76 bytes)
//
// 2 xrefs:
// > LevelSettingsLayer::init @ 0x140459072
// > ??> @ 0x140927cb0
//
// 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:31 +0000
//
__int64 __fastcall LevelSettingsLayer::onFGArt(__int64 a1)
{
__int64 *v2; // rax
__int64 v3; // rdx
__int64 v4; // rcx
v2 = (__int64 *)SelectArtLayer::create(2, *(unsigned int *)(*(_QWORD *)(a1 + 816) + 364LL));
v3 = a1 + 672;
if ( !a1 )
v3 = 0;
v4 = *v2;
v2[87] = v3;
return (*(__int64 (__fastcall **)(__int64 *))(v4 + 1064))(v2);
}