{"type": "func", "start": 5369305600, "end": 5369305920, "name": "AccountLoginLayer::updateLabel", "pseudocode": "// \n// AccountLoginLayer::updateLabel from 0x140091a00 to 0x140091b40 (320 bytes)\n// \n// 2 xrefs:\n// > AccountLoginLayer::loginAccountFailed @ 0x1400919d0\n// > <???> @ 0x140912a94\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:26:01 +0000\n// \n\n__int64 __fastcall AccountLoginLayer::updateLabel(__int64 a1, int a2)\n{\n  __int64 v3; // rcx\n  const char *v4; // rdx\n\n  switch ( a2 )\n  {\n    case -14:\n      (**(void (__fastcall ***)(__int64, const char *))(*(_QWORD *)(a1 + 704) + 360LL))(\n        *(_QWORD *)(a1 + 704) + 360LL,\n        \"Password contains invalid characters\");\n      v3 = *(_QWORD *)(a1 + 704);\n      return (**(__int64 (__fastcall ***)(__int64, __int16 *))(v3 + 368))(v3 + 368, &word_140702D00);\n    case -13:\n      v4 = \"Already linked to different Steam account\";\n      goto LABEL_9;\n    case -12:\n      (**(void (__fastcall ***)(__int64, const char *))(*(_QWORD *)(a1 + 696) + 360LL))(\n        *(_QWORD *)(a1 + 696) + 360LL,\n        \"Account has been disabled\");\n      (**(void (__fastcall ***)(__int64, __int16 *))(*(_QWORD *)(a1 + 696) + 368LL))(\n        *(_QWORD *)(a1 + 696) + 368LL,\n        &word_140702D00);\n      (**(void (__fastcall ***)(__int64, const char *))(*(_QWORD *)(a1 + 704) + 360LL))(\n        *(_QWORD *)(a1 + 704) + 360LL,\n        \"Contact RobTop Support for more info\");\n      v3 = *(_QWORD *)(a1 + 704);\n      return (**(__int64 (__fastcall ***)(__int64, __int16 *))(v3 + 368))(v3 + 368, &word_140702D00);\n    case -10:\n      v4 = \"Already linked to different account\";\n      goto LABEL_9;\n    case -9:\n      v4 = \"Too short. Minimum 3 characters\";\n      goto LABEL_9;\n    case -8:\n      (**(void (__fastcall ***)(__int64, const char *))(*(_QWORD *)(a1 + 704) + 360LL))(\n        *(_QWORD *)(a1 + 704) + 360LL,\n        \"Too short. Minimum 6 characters\");\n      v3 = *(_QWORD *)(a1 + 704);\n      return (**(__int64 (__fastcall ***)(__int64, __int16 *))(v3 + 368))(v3 + 368, &word_140702D00);\n    default:\n      v4 = \"Login failed\";\nLABEL_9:\n      (**(void (__fastcall ***)(__int64, const char *))(*(_QWORD *)(a1 + 696) + 360LL))(\n        *(_QWORD *)(a1 + 696) + 360LL,\n        v4);\n      v3 = *(_QWORD *)(a1 + 696);\n      return (**(__int64 (__fastcall ***)(__int64, __int16 *))(v3 + 368))(v3 + 368, &word_140702D00);\n  }\n}", "assembly": "; \n; AccountLoginLayer::updateLabel from 0x140091a00 to 0x140091b40 (320 bytes)\n; \n; 2 xrefs:\n; > AccountLoginLayer::loginAccountFailed @ 0x1400919d0\n; > <???> @ 0x140912a94\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:26:01 +0000\n; \npush    rbx                                                            ; +0x0, 0x140091a00\nsub     rsp, 20h                                                       ; +0x2, 0x140091a02\nadd     edx, 0Eh; switch 7 cases                                       ; +0x6, 0x140091a06\nmov     rbx, rcx                                                       ; +0x9, 0x140091a09\ncmp     edx, 6                                                         ; +0xc, 0x140091a0c\nja      def_140091A29; jumptable 0000000140091A29 default case, case -11 ; +0xf, 0x140091a0f\nmovsxd  rax, edx                                                       ; +0x15, 0x140091a15\nlea     rcx, cs:140000000h                                             ; +0x18, 0x140091a18\nmov     edx, ds:(jpt_140091A29 - 140000000h)[rcx+rax*4]                ; +0x1f, 0x140091a1f\nadd     rdx, rcx                                                       ; +0x26, 0x140091a26\njmp     rdx; switch jump                                               ; +0x29, 0x140091a29\nmov     rcx, [rbx+2C0h]; jumptable 0000000140091A29 case -14           ; +0x2b, 0x140091a2b\nlea     rdx, aPasswordContai; \"Password contains invalid characters\"   ; +0x32, 0x140091a32\nadd     rcx, 168h                                                      ; +0x39, 0x140091a39\nmov     rax, [rcx]                                                     ; +0x40, 0x140091a40\ncall    qword ptr [rax]                                                ; +0x43, 0x140091a43\nmov     rcx, [rbx+2C0h]                                                ; +0x45, 0x140091a45\njmp     loc_140091B0A                                                  ; +0x4c, 0x140091a4c\nmov     rcx, [rbx+2C0h]; jumptable 0000000140091A29 case -8            ; +0x51, 0x140091a51\nlea     rdx, aTooShortMinimu_0; \"Too short. Minimum 6 characters\"      ; +0x58, 0x140091a58\nadd     rcx, 168h                                                      ; +0x5f, 0x140091a5f\nmov     rax, [rcx]                                                     ; +0x66, 0x140091a66\ncall    qword ptr [rax]                                                ; +0x69, 0x140091a69\nmov     rcx, [rbx+2C0h]                                                ; +0x6b, 0x140091a6b\njmp     loc_140091B0A                                                  ; +0x72, 0x140091a72\nlea     rdx, aTooShortMinimu; jumptable 0000000140091A29 case -9       ; +0x77, 0x140091a77\njmp     short loc_140091AF0                                            ; +0x7e, 0x140091a7e\nlea     rdx, aAlreadyLinkedT; jumptable 0000000140091A29 case -10      ; +0x80, 0x140091a80\njmp     short loc_140091AF0                                            ; +0x87, 0x140091a87\nlea     rdx, aAlreadyLinkedT_0; jumptable 0000000140091A29 case -13    ; +0x89, 0x140091a89\njmp     short loc_140091AF0                                            ; +0x90, 0x140091a90\nmov     rcx, [rbx+2B8h]; jumptable 0000000140091A29 case -12           ; +0x92, 0x140091a92\nlea     rdx, aAccountHasBeen; \"Account has been disabled\"              ; +0x99, 0x140091a99\nadd     rcx, 168h                                                      ; +0xa0, 0x140091aa0\nmov     rax, [rcx]                                                     ; +0xa7, 0x140091aa7\ncall    qword ptr [rax]                                                ; +0xaa, 0x140091aaa\nmov     rcx, [rbx+2B8h]                                                ; +0xac, 0x140091aac\nlea     rdx, word_140702D00                                            ; +0xb3, 0x140091ab3\nadd     rcx, 170h                                                      ; +0xba, 0x140091aba\nmov     rax, [rcx]                                                     ; +0xc1, 0x140091ac1\ncall    qword ptr [rax]                                                ; +0xc4, 0x140091ac4\nmov     rcx, [rbx+2C0h]                                                ; +0xc6, 0x140091ac6\nlea     rdx, aContactRobtopS; \"Contact RobTop Support for more info\"   ; +0xcd, 0x140091acd\nadd     rcx, 168h                                                      ; +0xd4, 0x140091ad4\nmov     rax, [rcx]                                                     ; +0xdb, 0x140091adb\ncall    qword ptr [rax]                                                ; +0xde, 0x140091ade\nmov     rcx, [rbx+2C0h]                                                ; +0xe0, 0x140091ae0\njmp     short loc_140091B0A                                            ; +0xe7, 0x140091ae7\nlea     rdx, aLoginFailed; jumptable 0000000140091A29 default case, case -11 ; +0xe9, 0x140091ae9\nmov     rcx, [rbx+2B8h]                                                ; +0xf0, 0x140091af0\nadd     rcx, 168h                                                      ; +0xf7, 0x140091af7\nmov     rax, [rcx]                                                     ; +0xfe, 0x140091afe\ncall    qword ptr [rax]                                                ; +0x101, 0x140091b01\nmov     rcx, [rbx+2B8h]                                                ; +0x103, 0x140091b03\nadd     rcx, 170h                                                      ; +0x10a, 0x140091b0a\nlea     rdx, word_140702D00                                            ; +0x111, 0x140091b11\nmov     rax, [rcx]                                                     ; +0x118, 0x140091b18\nadd     rsp, 20h                                                       ; +0x11b, 0x140091b1b\npop     rbx                                                            ; +0x11f, 0x140091b1f\njmp     qword ptr [rax]                                                ; +0x120, 0x140091b20\nalign 4                                                                ; +0x123, 0x140091b23\ndd offset loc_140091A2B - 140000000h; jump table for switch statement  ; +0x124, 0x140091b24", "xrefs": ["AccountLoginLayer::loginAccountFailed @ 0x1400919d0", "<???> @ 0x140912a94"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}