//
// AccountLoginLayer::resetLabel from 0x851984 to 0x851a10 (140 bytes)
//
// 4 xrefs:
// > AccountLoginLayer::resetLabels @ 0x851a24
// > AccountLoginLayer::resetLabels @ 0x851a38
// > AccountLoginLayer::textInputClosed @ 0x851a88
// > ??> @ 0x66780
//
// 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 AccountLoginLayer::resetLabel(AccountLoginLayer *a1, int a2)
{
cocos2d::CCLabelBMFont *m_usernameLabel; // x1
if ( a2 == 1 )
{
a1->m_usernameLabel->setString(a1->m_usernameLabel, "Username:");
m_usernameLabel = a1->m_usernameLabel;
}
else
{
if ( a2 != 2 )
return;
a1->m_passwordLabel->setString(a1->m_passwordLabel, (const unsigned __int8 *)"Password:");
m_usernameLabel = a1->m_passwordLabel;
}
m_usernameLabel->setColor(m_usernameLabel, (const cocos2d::ccColor3B *)&off_EEC898);
}