//
// AccountRegisterLayer::toggleUI from 0x14007ace0 to 0x14007ad88 (168 bytes)
//
// 3 xrefs:
// > AccountRegisterLayer::registerAccountFailed @ 0x140079f0a
// > AccountRegisterLayer::onSubmit @ 0x14007aa06
// > ??> @ 0x1406c6768
//
// 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)
{
((void (__fastcall *)(cocos2d::CCMenu *))a1->m_buttonMenu->setEnabled)(a1->m_buttonMenu);
a1->m_usernameField->setTouchEnabled(a1->m_usernameField, a2);
a1->m_passwordField->setTouchEnabled(a1->m_passwordField, a2);
a1->m_confirmPasswordField->setTouchEnabled(a1->m_confirmPasswordField, a2);
a1->m_emailField->setTouchEnabled(a1->m_emailField, a2);
a1->m_verifyEmailField->setTouchEnabled(a1->m_verifyEmailField, a2);
a1->setTouchEnabled(a1, a2);
a1->setKeypadEnabled(a1, a2);
}