// // AccountLoginLayer::updateLabel from 0x10049a670 to 0x10049a728 (184 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 AccountLoginLayer::updateLabel(AccountLoginLayer *a1, AccountError a2) { __int64 v2; // r14 const char *v3; // rsi v2 = 680; switch ( a2 ) { case AlreadyLinkedToDifferentSteamAccount: v3 = "Already linked to different Steam account"; goto LABEL_7; case AccountDisabled: ((void (__fastcall *)(cocos2d::CCLabelBMFont *, const char *))a1->m_usernameLabel->setString)( a1->m_usernameLabel, "Account has been disabled"); ((void (__fastcall *)(cocos2d::CCLabelBMFont *, void *))a1->m_usernameLabel->setColor)( a1->m_usernameLabel, &unk_10081D311); v3 = "Contact RobTop Support for more info"; goto LABEL_8; case AlreadyLinkedToDifferentAccount: v3 = "Already linked to different account"; goto LABEL_7; case TooShortLessThan3: v3 = "Too short. Minimum 3 characters"; goto LABEL_7; case TooShortLessThan6: v3 = "Too short. Minimum 6 characters"; goto LABEL_8; default: v3 = "Login failed"; LABEL_7: v2 = 672; LABEL_8: (*(void (__fastcall **)(_QWORD, const char *))(**(_QWORD **)((char *)&a1->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable + v2) + 912LL))( *(AccountLoginLayer_vtbl **)((char *)&a1->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable + v2), v3); (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)((char *)&a1->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable + v2) + 1056LL))( *(AccountLoginLayer_vtbl **)((char *)&a1->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable + v2), &unk_10081D311); return; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source