//
// AccountLayer::toggleUI from 0x4670da to 0x4670fc (34 bytes)
//
// 2 xrefs:
// > AccountLayer::showLoadingUI @ 0x467102
// > AccountLayer::hideLoadingUI @ 0x4671d6
//
// 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 AccountLayer::toggleUI(AccountLayer *a1, bool a2)
{
_BOOL4 v3; // r5
v3 = a2;
((void (__fastcall *)(cocos2d::CCMenu *))a1->m_buttonMenu->setEnabled)(a1->m_buttonMenu);
a1->setKeypadEnabled(a1, v3);
}