// // AccountRegisterLayer::updateLabel from 0x140079f30 to 0x14007a126 (502 bytes) // // 2 xrefs: // > AccountRegisterLayer::registerAccountFailed @ 0x140079f00 // > @ 0x1406c6714 // // 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::updateLabel(AccountRegisterLayer *a1, AccountError a2) { const char *v3; // rdx cocos2d::CCLabelBMFont *m_verifyEmailLabel; // rcx switch ( a2 ) { case EmailsDoNotMatch: a1->m_verifyEmailLabel->setString(&a1->m_verifyEmailLabel->cocos2d::CCLabelProtocol, "Emails do not match"); m_verifyEmailLabel = a1->m_verifyEmailLabel; goto LABEL_13; case TooShortLessThan3: v3 = "Too short. Minimum 3 characters"; goto LABEL_12; case TooShortLessThan6: a1->m_passwordLabel->setString(&a1->m_passwordLabel->cocos2d::CCLabelProtocol, "Too short. Minimum 6 characters"); m_verifyEmailLabel = a1->m_passwordLabel; goto LABEL_13; case PasswordsDoNotMatch: a1->m_confirmPasswordLabel->setString( &a1->m_confirmPasswordLabel->cocos2d::CCLabelProtocol, "Passwords do not match"); m_verifyEmailLabel = a1->m_confirmPasswordLabel; goto LABEL_13; case InvalidEmail: a1->m_emailLabel->setString(&a1->m_emailLabel->cocos2d::CCLabelProtocol, "Email is invalid"); m_verifyEmailLabel = a1->m_emailLabel; goto LABEL_13; case InvalidPassword: a1->m_passwordLabel->setString(&a1->m_passwordLabel->cocos2d::CCLabelProtocol, "Password is invalid"); m_verifyEmailLabel = a1->m_passwordLabel; goto LABEL_13; case InvalidUsername: v3 = "Username is invalid"; goto LABEL_12; case AlreadyUsedEmail: a1->m_emailLabel->setString(&a1->m_emailLabel->cocos2d::CCLabelProtocol, "Email is already in use"); m_verifyEmailLabel = a1->m_emailLabel; goto LABEL_13; case AlreadyUsedUsername: v3 = "Username is already in use"; goto LABEL_12; default: v3 = "Something went wrong."; LABEL_12: a1->m_usernameLabel->setString(&a1->m_usernameLabel->cocos2d::CCLabelProtocol, v3); m_verifyEmailLabel = a1->m_usernameLabel; LABEL_13: m_verifyEmailLabel->setColor(&m_verifyEmailLabel->cocos2d::CCRGBAProtocol, &stru_1405299CC); return; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source