//
// SetupTriggerPopup::setCustomBGColor from 0x676858 to 0x67687c (36 bytes)
//
// 9 xrefs:
// > KeybindingsLayer::init @ 0x58a89e
// > GameSettingsLayer::init @ 0x712f00
// > CreatorSettingsPopup::init @ 0x765a32
// > EditorSFXActionConfigLayer::init @ 0x77c5f2
// > EditorSFXSettingsPopup::init @ 0x781690
// > EditorSoundsLayer::init @ 0x78ac06
// > KeybindCapturePopup::init @ 0x79a962
// > PlatformerControlsPopup::init @ 0x79d19c
// > ControlSlotsPopup::init @ 0x7a3c56
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:55:56 +0000
//
int __fastcall SetupTriggerPopup::setCustomBGColor(int a1, int a2)
{
int result; // r0
result = (*(int (__fastcall **)(_DWORD, int))(**(_DWORD **)(a1 + 460) + 240))(*(_DWORD *)(a1 + 460), 3);
if ( result )
return (*(int (__fastcall **)(int, int))(*(_DWORD *)result + 480))(result, a2);
return result;
}