//
// AccountLoginLayer::resetLabel from 0x14007cb20 to 0x14007cb96 (118 bytes)
//
// 2 xrefs:
// > AccountLoginLayer::textInputClosed @ 0x14007d13e
// > ??> @ 0x1406c681c
//
// 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)
{
int v3; // edx
cocos2d::CCLabelBMFont *m_passwordLabel; // rcx
v3 = a2 - 1;
if ( v3 )
{
if ( v3 != 1 )
return;
a1->m_passwordLabel->setString(&a1->m_passwordLabel->cocos2d::CCLabelProtocol, (const char *)&qword_140539098);
m_passwordLabel = a1->m_passwordLabel;
}
else
{
a1->m_usernameLabel->setString(&a1->m_usernameLabel->cocos2d::CCLabelProtocol, "Username:");
m_passwordLabel = a1->m_usernameLabel;
}
m_passwordLabel->setColor(&m_passwordLabel->cocos2d::CCRGBAProtocol, &stru_1405299D0);
}