//
// AccountRegisterLayer::toggleUI from 0x468e24 to 0x468e98 (116 bytes)
//
// 2 xrefs:
// > AccountRegisterLayer::showLoadingUI @ 0x468ea4
// > AccountRegisterLayer::hideLoadingUI @ 0x468ec0
//
// 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; // r5
v3 = a2;
((void (__fastcall *)(cocos2d::CCMenu *))a1->m_buttonMenu->setEnabled)(a1->m_buttonMenu);
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);
}