//
// SetupTriggerPopup::setCustomBGColor from 0xb1af18 to 0xb1af60 (72 bytes)
//
// 10 xrefs:
// > KeybindingsLayer::init @ 0x997544
// > GameSettingsLayer::init @ 0xc0825c
// > CreatorSettingsPopup::init @ 0xc9702c
// > EditorSFXActionConfigLayer::init @ 0xcbeae8
// > EditorSFXSettingsPopup::init @ 0xcc7d7c
// > EditorSoundsLayer::init @ 0xcd6c94
// > KeybindCapturePopup::init @ 0xcf72c8
// > PlatformerControlsPopup::init @ 0xcfadfc
// > ControlSlotsPopup::init @ 0xd05dc8
// > ??> @ 0x834e8
//
// 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 13:01:34 +0000
//
__int64 __fastcall SetupTriggerPopup::setCustomBGColor(__int64 a1, __int64 a2)
{
__int64 result; // x0
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;
}