// // AccountRegisterLayer::registerAccountFailed from 0x100497390 to 0x100497513 (387 bytes) // // 2 xrefs: // > sub_100497710 @ 0x10049771c // > @ 0x100944460 // // 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::registerAccountFailed(AccountRegisterLayer *a1, AccountError a2) { __int64 v2; // r14 const char *v3; // rsi v2 = 696; switch ( a2 ) { case TooShortLessThan3: v3 = "Too short. Minimum 3 characters"; break; case TooShortLessThan6: v3 = "Too short. Minimum 6 characters"; v2 = 704; break; case PasswordsDoNotMatch: v3 = "Passwords do not match"; v2 = 712; break; case InvalidEmail: v3 = "Email is invalid"; v2 = 720; break; case InvalidPassword: v3 = "Password is invalid"; v2 = 704; break; case InvalidUsername: v3 = "Username is invalid"; break; case AlreadyUsedEmail: v3 = "Email is already in use"; v2 = 720; break; case AlreadyUsedUsername: v3 = "Username is already in use"; break; default: if ( a2 == EmailsDoNotMatch ) { v3 = "Emails do not match"; v2 = 728; } else { v3 = "Something went wrong."; } break; } (*(void (__fastcall **)(_QWORD, const char *))(**(_QWORD **)((char *)&a1->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable + v2) + 912LL))( *(AccountRegisterLayer_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))( *(AccountRegisterLayer_vtbl **)((char *)&a1->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable + v2), &unk_10081D311); ((void (__fastcall *)(cocos2d::CCMenu *, __int64))a1->m_buttonMenu->setEnabled)(a1->m_buttonMenu, 1); ((void (__fastcall *)(CCTextInputNode *, __int64))a1->m_usernameField->setTouchEnabled)(a1->m_usernameField, 1); ((void (__fastcall *)(CCTextInputNode *, __int64))a1->m_passwordField->setTouchEnabled)(a1->m_passwordField, 1); ((void (__fastcall *)(CCTextInputNode *, __int64))a1->m_confirmPasswordField->setTouchEnabled)( a1->m_confirmPasswordField, 1); ((void (__fastcall *)(CCTextInputNode *, __int64))a1->m_emailField->setTouchEnabled)(a1->m_emailField, 1); ((void (__fastcall *)(CCTextInputNode *, __int64))a1->m_verifyEmailField->setTouchEnabled)(a1->m_verifyEmailField, 1); ((void (__fastcall *)(AccountRegisterLayer *, __int64))a1->setTouchEnabled)(a1, 1); ((void (__fastcall *)(AccountRegisterLayer *, __int64))a1->setKeypadEnabled)(a1, 1); ((void (__fastcall *)(LoadingCircle *, _QWORD))a1->m_loadingCircle->setVisible)(a1->m_loadingCircle, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source