//
// AccountRegisterLayer::toggleUI from 0x1000827d4 to 0x10008288c (184 bytes)
//
// 3 xrefs:
// > AccountRegisterLayer::registerAccountFailed @ 0x1000822c4
// > sub_10008240C @ 0x100082430
// > AccountRegisterLayer::showLoadingUI @ 0x100082728
//
// 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
//
// local variable allocation has failed, the output may be wrong!
void __fastcall AccountRegisterLayer::toggleUI(AccountRegisterLayer *a1, bool a2)
{
_BOOL8 v2; // x19
v2 = a2;
((void (__fastcall *)(cocos2d::CCMenu *))a1->m_buttonMenu->setEnabled)(a1->m_buttonMenu);
((void (__fastcall *)(CCTextInputNode *, _BOOL8))a1->m_usernameField->setTouchEnabled)(a1->m_usernameField, v2);
((void (__fastcall *)(CCTextInputNode *, _BOOL8))a1->m_passwordField->setTouchEnabled)(a1->m_passwordField, v2);
((void (__fastcall *)(CCTextInputNode *, _BOOL8))a1->m_confirmPasswordField->setTouchEnabled)(
a1->m_confirmPasswordField,
v2);
((void (__fastcall *)(CCTextInputNode *, _BOOL8))a1->m_emailField->setTouchEnabled)(a1->m_emailField, v2);
((void (__fastcall *)(CCTextInputNode *, _BOOL8))a1->m_verifyEmailField->setTouchEnabled)(a1->m_verifyEmailField, v2);
((void (__fastcall *)(AccountRegisterLayer *, _BOOL8))a1->setTouchEnabled)(a1, v2);
((void (__fastcall *)(AccountRegisterLayer *, _BOOL8))a1->setKeypadEnabled)(a1, v2);
}