//
// SetupTriggerPopup::setCustomBGColor from 0x100219a00 to 0x100219a42 (66 bytes)
//
// 9 xrefs:
// > KeybindCapturePopup::init @ 0x1005b3ccd
// > GameSettingsLayer::init @ 0x1005fe524
// > KeybindingsLayer::init @ 0x1006e1740
// > CreatorSettingsPopup::init @ 0x1008b63bf
// > EditorSFXActionConfigLayer::init @ 0x1008df37b
// > sub_1008EE9C0 @ 0x1008eea2d
// > sub_1008FD5B0 @ 0x1008fd613
// > PlatformerControlsPopup::init @ 0x10095d6f8
// > ControlSlotsPopup::init @ 0x10097bdaf
//
// 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 12:27:01 +0000
//
__int64 __fastcall SetupTriggerPopup::setCustomBGColor(__int64 a1, __int64 a2)
{
__int64 result; // rax
result = (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 584) + 480LL))(*(_QWORD *)(a1 + 584), 3);
if ( result )
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)result + 960LL))(result, a2);
return result;
}