//
// AccountLoginLayer::toggleUI from 0x851ca8 to 0x851d38 (144 bytes)
//
// 3 xrefs:
// > AccountLoginLayer::showLoadingUI @ 0x851d54
// > AccountLoginLayer::hideLoadingUI @ 0x8521ac
// > ??> @ 0x69960
//
// 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 AccountLoginLayer::toggleUI(AccountLoginLayer *a1, bool a2)
{
_BOOL4 v3; // w20
v3 = a2;
a1->m_buttonMenu->setEnabled(a1->m_buttonMenu, a2);
a1->m_usernameInput->setTouchEnabled(a1->m_usernameInput, v3);
a1->m_passwordInput->setTouchEnabled(a1->m_passwordInput, v3);
a1->setTouchEnabled(a1, v3);
a1->setKeypadEnabled(a1, v3);
}