//
// AccountRegisterLayer::resetLabel from 0x100497850 to 0x100497906 (182 bytes)
//
// 0 xrefs:
//
// 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 __fastcall AccountRegisterLayer::resetLabel(AccountRegisterLayer *a1, int a2)
{
const char *v2; // rsi
__int64 v3; // r14
switch ( a2 )
{
case 1:
v2 = "Username: (shown to other players)";
v3 = 696;
goto LABEL_7;
case 2:
v2 = "Password:";
v3 = 704;
goto LABEL_7;
case 3:
v2 = "Confirm Password:";
v3 = 712;
goto LABEL_7;
case 4:
((void (__fastcall *)(cocos2d::CCLabelBMFont *, const char *))a1->m_emailLabel->setString)(
a1->m_emailLabel,
"Email:");
((void (__fastcall *)(cocos2d::CCLabelBMFont *, void *))a1->m_emailLabel->setColor)(
a1->m_emailLabel,
&unk_10081D314);
goto LABEL_4;
case 5:
LABEL_4:
v2 = "Verify Email:";
v3 = 728;
LABEL_7:
(*(void (__fastcall **)(_QWORD, const char *))(**(_QWORD **)((char *)&a1->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable
+ v3)
+ 912LL))(
*(AccountRegisterLayer_vtbl **)((char *)&a1->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable
+ v3),
v2);
(*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)((char *)&a1->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable
+ v3)
+ 1056LL))(
*(AccountRegisterLayer_vtbl **)((char *)&a1->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable
+ v3),
&unk_10081D314);
break;
default:
return;
}
}