{"type": "func", "start": 4299794032, "end": 4299794216, "name": "AccountLoginLayer::updateLabel", "pseudocode": "// \n// AccountLoginLayer::updateLabel from 0x10049a670 to 0x10049a728 (184 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall AccountLoginLayer::updateLabel(AccountLoginLayer *a1, AccountError a2)\n{\n  __int64 v2; // r14\n  const char *v3; // rsi\n\n  v2 = 680;\n  switch ( a2 )\n  {\n    case AlreadyLinkedToDifferentSteamAccount:\n      v3 = \"Already linked to different Steam account\";\n      goto LABEL_7;\n    case AccountDisabled:\n      ((void (__fastcall *)(cocos2d::CCLabelBMFont *, const char *))a1->m_usernameLabel->setString)(\n        a1->m_usernameLabel,\n        \"Account has been disabled\");\n      ((void (__fastcall *)(cocos2d::CCLabelBMFont *, void *))a1->m_usernameLabel->setColor)(\n        a1->m_usernameLabel,\n        &unk_10081D311);\n      v3 = \"Contact RobTop Support for more info\";\n      goto LABEL_8;\n    case AlreadyLinkedToDifferentAccount:\n      v3 = \"Already linked to different account\";\n      goto LABEL_7;\n    case TooShortLessThan3:\n      v3 = \"Too short. Minimum 3 characters\";\n      goto LABEL_7;\n    case TooShortLessThan6:\n      v3 = \"Too short. Minimum 6 characters\";\n      goto LABEL_8;\n    default:\n      v3 = \"Login failed\";\nLABEL_7:\n      v2 = 672;\nLABEL_8:\n      (*(void (__fastcall **)(_QWORD, const char *))(**(_QWORD **)((char *)&a1->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable\n                                                                 + v2)\n                                                   + 912LL))(\n        *(AccountLoginLayer_vtbl **)((char *)&a1->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable\n                                   + v2),\n        v3);\n      (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)((char *)&a1->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable\n                                                           + v2)\n                                             + 1056LL))(\n        *(AccountLoginLayer_vtbl **)((char *)&a1->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable\n                                   + v2),\n        &unk_10081D311);\n      return;\n  }\n}", "assembly": "; \n; AccountLoginLayer::updateLabel from 0x10049a670 to 0x10049a728 (184 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x10049a670\nmov     rbp, rsp                                                       ; +0x1, 0x10049a671\npush    r14                                                            ; +0x4, 0x10049a674\npush    rbx                                                            ; +0x6, 0x10049a676\nmov     rbx, rdi                                                       ; +0x7, 0x10049a677\nadd     esi, 0Dh; switch 6 cases                                       ; +0xa, 0x10049a67a\ncmp     esi, 5                                                         ; +0xd, 0x10049a67d\nja      short def_10049A696; jumptable 000000010049A696 default case, case -11 ; +0x10, 0x10049a680\nmov     r14d, 2A8h                                                     ; +0x12, 0x10049a682\nlea     rax, jpt_10049A696                                             ; +0x18, 0x10049a688\nmovsxd  rcx, (jpt_10049A696 - 10049A728h)[rax+rsi*4]                   ; +0x1f, 0x10049a68f\nadd     rcx, rax                                                       ; +0x23, 0x10049a693\njmp     rcx; switch jump                                               ; +0x26, 0x10049a696\nlea     rsi, aAlreadyLinkedT_0; jumptable 000000010049A696 case -13    ; +0x28, 0x10049a698\njmp     short loc_10049A6F1                                            ; +0x2f, 0x10049a69f\nlea     rsi, aLoginFailed; jumptable 000000010049A696 default case, case -11 ; +0x31, 0x10049a6a1\njmp     short loc_10049A6F1                                            ; +0x38, 0x10049a6a8\nlea     rsi, aAlreadyLinkedT; jumptable 000000010049A696 case -10      ; +0x3a, 0x10049a6aa\njmp     short loc_10049A6F1                                            ; +0x41, 0x10049a6b1\nmov     rdi, [rbx+2A0h]; jumptable 000000010049A696 case -12           ; +0x43, 0x10049a6b3\nmov     rax, [rdi]                                                     ; +0x4a, 0x10049a6ba\nlea     rsi, aAccountHasBeen; \"Account has been disabled\"              ; +0x4d, 0x10049a6bd\ncall    qword ptr [rax+390h]                                           ; +0x54, 0x10049a6c4\nmov     rdi, [rbx+2A0h]                                                ; +0x5a, 0x10049a6ca\nmov     rax, [rdi]                                                     ; +0x61, 0x10049a6d1\nlea     rsi, unk_10081D311                                             ; +0x64, 0x10049a6d4\ncall    qword ptr [rax+420h]                                           ; +0x6b, 0x10049a6db\nlea     rsi, aContactRobtopS; \"Contact RobTop Support for more info\"   ; +0x71, 0x10049a6e1\njmp     short loc_10049A6F7                                            ; +0x78, 0x10049a6e8\nlea     rsi, aTooShortMinimu_0; jumptable 000000010049A696 case -9     ; +0x7a, 0x10049a6ea\nmov     r14d, 2A0h                                                     ; +0x81, 0x10049a6f1\nmov     rdi, [rbx+r14]                                                 ; +0x87, 0x10049a6f7\nmov     rax, [rdi]                                                     ; +0x8b, 0x10049a6fb\ncall    qword ptr [rax+390h]                                           ; +0x8e, 0x10049a6fe\nmov     rdi, [rbx+r14]                                                 ; +0x94, 0x10049a704\nmov     rax, [rdi]                                                     ; +0x98, 0x10049a708\nmov     rax, [rax+420h]                                                ; +0x9b, 0x10049a70b\nlea     rsi, unk_10081D311                                             ; +0xa2, 0x10049a712\npop     rbx                                                            ; +0xa9, 0x10049a719\npop     r14                                                            ; +0xaa, 0x10049a71a\npop     rbp                                                            ; +0xac, 0x10049a71c\njmp     rax                                                            ; +0xad, 0x10049a71d\nlea     rsi, aTooShortMinimu; jumptable 000000010049A696 case -8       ; +0xaf, 0x10049a71f\njmp     short loc_10049A6F7                                            ; +0xb6, 0x10049a726", "xrefs": [], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}