//
// AccountRegisterLayer::toggleUI from 0x84f6f0 to 0x84f7c8 (216 bytes)
//
// 3 xrefs:
// > AccountRegisterLayer::showLoadingUI @ 0x84f7e4
// > AccountRegisterLayer::hideLoadingUI @ 0x84f820
// > ??> @ 0x3ffc0
//
// 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 AccountRegisterLayer::toggleUI(AccountRegisterLayer *a1, bool a2)
{
_BOOL4 v3; // w20
v3 = a2;
a1->m_buttonMenu->setEnabled(a1->m_buttonMenu, a2);
a1->m_usernameField->setTouchEnabled(a1->m_usernameField, v3);
a1->m_passwordField->setTouchEnabled(a1->m_passwordField, v3);
a1->m_confirmPasswordField->setTouchEnabled(a1->m_confirmPasswordField, v3);
a1->m_emailField->setTouchEnabled(a1->m_emailField, v3);
a1->m_verifyEmailField->setTouchEnabled(a1->m_verifyEmailField, v3);
a1->setTouchEnabled(a1, v3);
a1->setKeypadEnabled(a1, v3);
}