//
// AccountLoginLayer::toggleUI from 0x1000843f8 to 0x100084474 (124 bytes)
//
// 4 xrefs:
// > AccountLoginLayer::loginAccountFinished @ 0x100083fb0
// > AccountLoginLayer::loginAccountFailed @ 0x1000840c8
// > sub_1000841D4 @ 0x1000841f8
// > AccountLoginLayer::showLoadingUI @ 0x100084368
//
// 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 AccountLoginLayer::toggleUI(AccountLoginLayer *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_usernameInput->setTouchEnabled)(a1->m_usernameInput, v2);
((void (__fastcall *)(CCTextInputNode *, _BOOL8))a1->m_passwordInput->setTouchEnabled)(a1->m_passwordInput, v2);
((void (__fastcall *)(AccountLoginLayer *, _BOOL8))a1->setTouchEnabled)(a1, v2);
((void (__fastcall *)(AccountLoginLayer *, _BOOL8))a1->setKeypadEnabled)(a1, v2);
}