//
// SetupTriggerPopup::toggleBG from 0x10012e584 to 0x10012e5d0 (76 bytes)
//
// 2 xrefs:
// > UIOptionsLayer::init @ 0x1002e2a5c
// > UIPOptionsLayer::init @ 0x1002e5eac
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
// local variable allocation has failed, the output may be wrong!
void __fastcall SetupTriggerPopup::toggleBG(SetupTriggerPopup *a1, bool a2)
{
_BOOL8 v2; // x19
__int64 v3; // x0
v2 = a2;
v3 = ((__int64 (__fastcall *)(cocos2d::CCLayer *, __int64))a1->m_mainLayer->getChildByTag)(a1->m_mainLayer, 1);
if ( v3 )
(*(void (__fastcall **)(__int64, _BOOL8))(*(_QWORD *)v3 + 328LL))(v3, v2);
}