//
// SetupTriggerPopup::setCustomBGColor from 0x1001ac098 to 0x1001ac0e4 (76 bytes)
//
// 9 xrefs:
// > KeybindingsLayer::init @ 0x100023704
// > GameSettingsLayer::init @ 0x100164404
// > KeybindCapturePopup::init @ 0x1001a4564
// > CreatorSettingsPopup::init @ 0x1004ab788
// > EditorSFXActionConfigLayer::init @ 0x1004c5ec8
// > sub_1004CBD38 @ 0x1004cbdac
// > EditorSoundsLayer::init @ 0x1004d7134
// > PlatformerControlsPopup::init @ 0x10051b70c
// > sub_10052E974 @ 0x10052e9fc
//
// 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:00:06 +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;
}