{"type": "func", "start": 5369219616, "end": 5369219867, "name": "AccountLoginLayer::updateLabel", "pseudocode": "// \n// AccountLoginLayer::updateLabel from 0x14007ca20 to 0x14007cb1b (251 bytes)\n// \n// 2 xrefs:\n// > AccountLoginLayer::loginAccountFailed @ 0x14007c9f0\n// > <???> @ 0x1406c6810\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 AccountLoginLayer::updateLabel(AccountLoginLayer *a1, AccountError a2)\n{\n  const char *v3; // rdx\n  cocos2d::CCLabelBMFont *m_passwordLabel; // rcx\n\n  switch ( a2 )\n  {\n    case AlreadyLinkedToDifferentSteamAccount:\n      v3 = \"Already linked to different Steam account\";\n      goto LABEL_12;\n    case AccountDisabled:\n      a1->m_usernameLabel->setString(&a1->m_usernameLabel->cocos2d::CCLabelProtocol, \"Account has been disabled\");\n      a1->m_usernameLabel->setColor(&a1->m_usernameLabel->cocos2d::CCRGBAProtocol, &stru_1405299CC);\n      a1->m_passwordLabel->setString(\n        &a1->m_passwordLabel->cocos2d::CCLabelProtocol,\n        \"Contact RobTop Support for more info\");\n      m_passwordLabel = a1->m_passwordLabel;\n      break;\n    case AlreadyLinkedToDifferentAccount:\n      v3 = \"Already linked to different account\";\n      goto LABEL_12;\n    case TooShortLessThan3:\n      v3 = \"Too short. Minimum 3 characters\";\n      goto LABEL_12;\n    case TooShortLessThan6:\n      a1->m_passwordLabel->setString(&a1->m_passwordLabel->cocos2d::CCLabelProtocol, \"Too short. Minimum 6 characters\");\n      m_passwordLabel = a1->m_passwordLabel;\n      break;\n    default:\n      v3 = \"Login failed\";\nLABEL_12:\n      a1->m_usernameLabel->setString(&a1->m_usernameLabel->cocos2d::CCLabelProtocol, v3);\n      m_passwordLabel = a1->m_usernameLabel;\n      break;\n  }\n  m_passwordLabel->setColor(&m_passwordLabel->cocos2d::CCRGBAProtocol, &stru_1405299CC);\n}", "assembly": "; \n; AccountLoginLayer::updateLabel from 0x14007ca20 to 0x14007cb1b (251 bytes)\n; \n; 2 xrefs:\n; > AccountLoginLayer::loginAccountFailed @ 0x14007c9f0\n; > <???> @ 0x1406c6810\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    rbx                                                            ; +0x0, 0x14007ca20\nsub     rsp, 20h                                                       ; +0x2, 0x14007ca22\nmov     rbx, rcx                                                       ; +0x6, 0x14007ca26\ncmp     edx, 0FFFFFFF3h                                                ; +0x9, 0x14007ca29\njz      loc_14007CAE1                                                  ; +0xc, 0x14007ca2c\ncmp     edx, 0FFFFFFF4h                                                ; +0x12, 0x14007ca32\njz      short loc_14007CA8A                                            ; +0x15, 0x14007ca35\ncmp     edx, 0FFFFFFF6h                                                ; +0x17, 0x14007ca37\njz      short loc_14007CA81                                            ; +0x1a, 0x14007ca3a\ncmp     edx, 0FFFFFFF7h                                                ; +0x1c, 0x14007ca3c\njz      short loc_14007CA78                                            ; +0x1f, 0x14007ca3f\ncmp     edx, 0FFFFFFF8h                                                ; +0x21, 0x14007ca41\njz      short loc_14007CA52                                            ; +0x24, 0x14007ca44\nlea     rdx, aLoginFailed; \"Login failed\"                              ; +0x26, 0x14007ca46\njmp     loc_14007CAE8                                                  ; +0x2d, 0x14007ca4d\nmov     rcx, [rcx+2A8h]                                                ; +0x32, 0x14007ca52\nlea     rdx, aTooShortMinimu; \"Too short. Minimum 6 characters\"        ; +0x39, 0x14007ca59\nadd     rcx, 168h                                                      ; +0x40, 0x14007ca60\nmov     rax, [rcx]                                                     ; +0x47, 0x14007ca67\ncall    qword ptr [rax]                                                ; +0x4a, 0x14007ca6a\nmov     rcx, [rbx+2A8h]                                                ; +0x4c, 0x14007ca6c\njmp     loc_14007CB02                                                  ; +0x53, 0x14007ca73\nlea     rdx, aTooShortMinimu_0; \"Too short. Minimum 3 characters\"      ; +0x58, 0x14007ca78\njmp     short loc_14007CAE8                                            ; +0x5f, 0x14007ca7f\nlea     rdx, aAlreadyLinkedT; \"Already linked to different account\"    ; +0x61, 0x14007ca81\njmp     short loc_14007CAE8                                            ; +0x68, 0x14007ca88\nmov     rcx, [rcx+2A0h]                                                ; +0x6a, 0x14007ca8a\nlea     rdx, aAccountHasBeen; \"Account has been disabled\"              ; +0x71, 0x14007ca91\nadd     rcx, 168h                                                      ; +0x78, 0x14007ca98\nmov     rax, [rcx]                                                     ; +0x7f, 0x14007ca9f\ncall    qword ptr [rax]                                                ; +0x82, 0x14007caa2\nmov     rcx, [rbx+2A0h]                                                ; +0x84, 0x14007caa4\nlea     rdx, stru_1405299CC                                            ; +0x8b, 0x14007caab\nadd     rcx, 170h                                                      ; +0x92, 0x14007cab2\nmov     rax, [rcx]                                                     ; +0x99, 0x14007cab9\ncall    qword ptr [rax]                                                ; +0x9c, 0x14007cabc\nmov     rcx, [rbx+2A8h]                                                ; +0x9e, 0x14007cabe\nlea     rdx, aContactRobtopS; \"Contact RobTop Support for more info\"   ; +0xa5, 0x14007cac5\nadd     rcx, 168h                                                      ; +0xac, 0x14007cacc\nmov     rax, [rcx]                                                     ; +0xb3, 0x14007cad3\ncall    qword ptr [rax]                                                ; +0xb6, 0x14007cad6\nmov     rcx, [rbx+2A8h]                                                ; +0xb8, 0x14007cad8\njmp     short loc_14007CB02                                            ; +0xbf, 0x14007cadf\nlea     rdx, aAlreadyLinkedT_0; \"Already linked to different Steam accou\"... ; +0xc1, 0x14007cae1\nmov     rcx, [rcx+2A0h]                                                ; +0xc8, 0x14007cae8\nadd     rcx, 168h                                                      ; +0xcf, 0x14007caef\nmov     rax, [rcx]                                                     ; +0xd6, 0x14007caf6\ncall    qword ptr [rax]                                                ; +0xd9, 0x14007caf9\nmov     rcx, [rbx+2A0h]                                                ; +0xdb, 0x14007cafb\nadd     rcx, 170h                                                      ; +0xe2, 0x14007cb02\nlea     rdx, stru_1405299CC                                            ; +0xe9, 0x14007cb09\nmov     rax, [rcx]                                                     ; +0xf0, 0x14007cb10\nadd     rsp, 20h                                                       ; +0xf3, 0x14007cb13\npop     rbx                                                            ; +0xf7, 0x14007cb17\njmp     qword ptr [rax]                                                ; +0xf8, 0x14007cb18", "xrefs": ["AccountLoginLayer::loginAccountFailed @ 0x14007c9f0", "<???> @ 0x1406c6810"], "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"}