// // AccountRegisterLayer::resetLabel from 0x84f418 to 0x84f564 (332 bytes) // // 8 xrefs: // > AccountRegisterLayer::resetLabels @ 0x84f578 // > AccountRegisterLayer::resetLabels @ 0x84f584 // > AccountRegisterLayer::resetLabels @ 0x84f590 // > AccountRegisterLayer::resetLabels @ 0x84f59c // > AccountRegisterLayer::resetLabels @ 0x84f5b0 // > AccountRegisterLayer::textInputClosed @ 0x8500e8 // > AccountRegisterLayer::textInputClosed @ 0x850320 // > @ 0x6e718 // // 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) { cocos2d::CCLabelBMFont *m_usernameLabel; // x1 switch ( a2 ) { case 1: a1->m_usernameLabel->setString(a1->m_usernameLabel, "Username: (shown to other players)"); m_usernameLabel = a1->m_usernameLabel; goto LABEL_5; case 2: a1->m_passwordLabel->setString(a1->m_passwordLabel, (const unsigned __int8 *)"Password:"); m_usernameLabel = a1->m_passwordLabel; goto LABEL_5; case 3: a1->m_confirmPasswordLabel->setString(a1->m_confirmPasswordLabel, "Confirm Password:"); m_usernameLabel = a1->m_confirmPasswordLabel; LABEL_5: m_usernameLabel->setColor(m_usernameLabel, (const cocos2d::ccColor3B *)&off_EEC898); return; case 4: a1->m_emailLabel->setString(a1->m_emailLabel, "Email:"); a1->m_emailLabel->setColor(a1->m_emailLabel, (const cocos2d::ccColor3B *)&off_EEC898); goto LABEL_3; case 5: LABEL_3: a1->m_verifyEmailLabel->setString(a1->m_verifyEmailLabel, "Verify Email:"); a1->m_verifyEmailLabel->setColor(a1->m_verifyEmailLabel, (const cocos2d::ccColor3B *)&off_EEC898); break; default: return; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source