//
// SetupArtSwitchPopup::onArt from 0x140608e60 to 0x140608eb2 (82 bytes)
//
// 2 xrefs:
// > SetupArtSwitchPopup::init @ 0x140608d0d
// > ??> @ 0x14092fa44
//
// 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:35:13 +0000
//
__int64 __fastcall SetupArtSwitchPopup::onArt(unsigned int *a1)
{
float v2; // xmm0_4
__int64 *v3; // rax
unsigned int *v4; // rdx
__int64 v5; // rcx
v2 = (*(float (__fastcall **)(unsigned int *, __int64))(*(_QWORD *)a1 + 1168LL))(a1, 533);
v3 = SelectArtLayer::create(a1[252], (int)v2);
v4 = a1 + 250;
if ( !a1 )
v4 = nullptr;
v5 = *v3;
v3[87] = (__int64)v4;
return (*(__int64 (__fastcall **)(__int64 *))(v5 + 1064))(v3);
}