//
// SetupTriggerPopup::toggleBG from 0x1002351f0 to 0x100235231 (65 bytes)
//
// 2 xrefs:
// > UIOptionsLayer::init @ 0x1002b28e6
// > UIPOptionsLayer::init @ 0x1002b7302
//
// 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
//
void __fastcall SetupTriggerPopup::toggleBG(SetupTriggerPopup *a1, bool a2)
{
__int64 v2; // rax
v2 = ((__int64 (__fastcall *)(cocos2d::CCLayer *, __int64))a1->m_mainLayer->getChildByTag)(a1->m_mainLayer, 1);
if ( v2 )
(*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v2 + 328LL))(v2, a2);
}