//
// AccountRegisterLayer::resetLabel from 0x468c68 to 0x468d26 (190 bytes)
//
// 7 xrefs:
// > AccountRegisterLayer::resetLabels @ 0x468d56
// > AccountRegisterLayer::resetLabels @ 0x468d5e
// > AccountRegisterLayer::resetLabels @ 0x468d66
// > AccountRegisterLayer::resetLabels @ 0x468d6e
// > AccountRegisterLayer::resetLabels @ 0x468d7a
// > AccountRegisterLayer::textInputClosed @ 0x469138
// > AccountRegisterLayer::textInputClosed @ 0x469194
//
// 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::resetLabel(AccountRegisterLayer *a1, int a2)
{
void (*setColor)(void); // r3
switch ( a2 )
{
case 1:
a1->m_usernameLabel->setString(a1->m_usernameLabel, "Username: (shown to other players)");
setColor = (void (*)(void))a1->m_usernameLabel->setColor;
goto LABEL_7;
case 2:
a1->m_passwordLabel->setString(a1->m_passwordLabel, "Password:");
setColor = (void (*)(void))a1->m_passwordLabel->setColor;
goto LABEL_7;
case 3:
a1->m_confirmPasswordLabel->setString(a1->m_confirmPasswordLabel, "Confirm Password:");
setColor = (void (*)(void))a1->m_confirmPasswordLabel->setColor;
goto LABEL_7;
case 4:
a1->m_emailLabel->setString(a1->m_emailLabel, "Email:");
a1->m_emailLabel->setColor(a1->m_emailLabel, (const cocos2d::ccColor3B *)&unk_9ABEFF);
goto LABEL_6;
case 5:
LABEL_6:
a1->m_verifyEmailLabel->setString(a1->m_verifyEmailLabel, "Verify Email:");
setColor = (void (*)(void))a1->m_verifyEmailLabel->setColor;
LABEL_7:
setColor();
break;
default:
return;
}
}