{"type": "func", "start": 4299761728, "end": 4299762036, "name": "AccountLoginLayer::loginAccountFailed", "pseudocode": "// \n// AccountLoginLayer::loginAccountFailed from 0x100492840 to 0x100492974 (308 bytes)\n// \n// 2 xrefs:\n// > sub_100492A70 @ 0x100492a7c\n// > <???> @ 0x100b4f020\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 12:30:47 +0000\n// \n\n__int64 __fastcall AccountLoginLayer::loginAccountFailed(_QWORD **a1, int a2)\n{\n  __int64 v2; // r14\n  const char *v3; // rsi\n\n  v2 = 88;\n  switch ( a2 )\n  {\n    case -14:\n      v3 = \"Password contains invalid characters\";\n      goto LABEL_10;\n    case -13:\n      v3 = \"Already linked to different Steam account\";\n      goto LABEL_9;\n    case -12:\n      (*(void (__fastcall **)(_QWORD *, const char *))(*a1[87] + 928LL))(a1[87], \"Account has been disabled\");\n      (*(void (__fastcall **)(_QWORD *, void *))(*a1[87] + 1072LL))(a1[87], &unk_100A0B960);\n      v3 = \"Contact RobTop Support for more info\";\n      goto LABEL_10;\n    case -10:\n      v3 = \"Already linked to different account\";\n      goto LABEL_9;\n    case -9:\n      v3 = \"Too short. Minimum 3 characters\";\n      goto LABEL_9;\n    case -8:\n      v3 = \"Too short. Minimum 6 characters\";\n      goto LABEL_10;\n    default:\n      v3 = \"Login failed\";\nLABEL_9:\n      v2 = 87;\nLABEL_10:\n      (*(void (__fastcall **)(_QWORD *, const char *))(*a1[v2] + 928LL))(a1[v2], v3);\n      (*(void (__fastcall **)(_QWORD *, void *))(*a1[v2] + 1072LL))(a1[v2], &unk_100A0B960);\n      (*(void (__fastcall **)(_QWORD *, __int64))(*a1[69] + 1272LL))(a1[69], 1);\n      (*(void (__fastcall **)(_QWORD *, __int64))(*a1[85] + 1000LL))(a1[85], 1);\n      (*(void (__fastcall **)(_QWORD *, __int64))(*a1[86] + 1000LL))(a1[86], 1);\n      ((void (__fastcall *)(_QWORD **, __int64))(*a1)[125])(a1, 1);\n      ((void (__fastcall *)(_QWORD **, __int64))(*a1)[134])(a1, 1);\n      return (*(__int64 (__fastcall **)(_QWORD *, _QWORD))(*a1[89] + 344LL))(a1[89], 0);\n  }\n}", "assembly": "; \n; AccountLoginLayer::loginAccountFailed from 0x100492840 to 0x100492974 (308 bytes)\n; \n; 2 xrefs:\n; > sub_100492A70 @ 0x100492a7c\n; > <???> @ 0x100b4f020\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 12:30:47 +0000\n; \npush    rbp                                                            ; +0x0, 0x100492840\nmov     rbp, rsp                                                       ; +0x1, 0x100492841\npush    r14                                                            ; +0x4, 0x100492844\npush    rbx                                                            ; +0x6, 0x100492846\nmov     rbx, rdi                                                       ; +0x7, 0x100492847\nadd     esi, 0Eh; switch 7 cases                                       ; +0xa, 0x10049284a\ncmp     esi, 6                                                         ; +0xd, 0x10049284d\nja      short def_100492866; jumptable 0000000100492866 default case, case -11 ; +0x10, 0x100492850\nmov     r14d, 2C0h                                                     ; +0x12, 0x100492852\nlea     rax, jpt_100492866                                             ; +0x18, 0x100492858\nmovsxd  rcx, (jpt_100492866 - 100492974h)[rax+rsi*4]                   ; +0x1f, 0x10049285f\nadd     rcx, rax                                                       ; +0x23, 0x100492863\njmp     rcx; switch jump                                               ; +0x26, 0x100492866\nlea     rsi, aPasswordContai; jumptable 0000000100492866 case -14      ; +0x28, 0x100492868\njmp     short loc_1004928D9                                            ; +0x2f, 0x10049286f\nmov     rdi, [rbx+2B8h]; jumptable 0000000100492866 case -12           ; +0x31, 0x100492871\nmov     rax, [rdi]                                                     ; +0x38, 0x100492878\nlea     rsi, aAccountHasBeen; \"Account has been disabled\"              ; +0x3b, 0x10049287b\ncall    qword ptr [rax+3A0h]                                           ; +0x42, 0x100492882\nmov     rdi, [rbx+2B8h]                                                ; +0x48, 0x100492888\nmov     rax, [rdi]                                                     ; +0x4f, 0x10049288f\nlea     rsi, unk_100A0B960                                             ; +0x52, 0x100492892\ncall    qword ptr [rax+430h]                                           ; +0x59, 0x100492899\nlea     rsi, aContactRobtopS; \"Contact RobTop Support for more info\"   ; +0x5f, 0x10049289f\njmp     short loc_1004928D9                                            ; +0x66, 0x1004928a6\nlea     rsi, aTooShortMinimu_0; jumptable 0000000100492866 case -8     ; +0x68, 0x1004928a8\njmp     short loc_1004928D9                                            ; +0x6f, 0x1004928af\nlea     rsi, aLoginFailed; jumptable 0000000100492866 default case, case -11 ; +0x71, 0x1004928b1\njmp     short loc_1004928D3                                            ; +0x78, 0x1004928b8\nlea     rsi, aAlreadyLinkedT_0; jumptable 0000000100492866 case -13    ; +0x7a, 0x1004928ba\njmp     short loc_1004928D3                                            ; +0x81, 0x1004928c1\nlea     rsi, aAlreadyLinkedT; jumptable 0000000100492866 case -10      ; +0x83, 0x1004928c3\njmp     short loc_1004928D3                                            ; +0x8a, 0x1004928ca\nlea     rsi, aTooShortMinimu; jumptable 0000000100492866 case -9       ; +0x8c, 0x1004928cc\nmov     r14d, 2B8h                                                     ; +0x93, 0x1004928d3\nmov     rdi, [rbx+r14]                                                 ; +0x99, 0x1004928d9\nmov     rax, [rdi]                                                     ; +0x9d, 0x1004928dd\ncall    qword ptr [rax+3A0h]                                           ; +0xa0, 0x1004928e0\nmov     rdi, [rbx+r14]                                                 ; +0xa6, 0x1004928e6\nmov     rax, [rdi]                                                     ; +0xaa, 0x1004928ea\nlea     rsi, unk_100A0B960                                             ; +0xad, 0x1004928ed\ncall    qword ptr [rax+430h]                                           ; +0xb4, 0x1004928f4\nmov     rdi, [rbx+228h]                                                ; +0xba, 0x1004928fa\nmov     rax, [rdi]                                                     ; +0xc1, 0x100492901\nmov     esi, 1                                                         ; +0xc4, 0x100492904\ncall    qword ptr [rax+4F8h]                                           ; +0xc9, 0x100492909\nmov     rdi, [rbx+2A8h]                                                ; +0xcf, 0x10049290f\nmov     rax, [rdi]                                                     ; +0xd6, 0x100492916\nmov     esi, 1                                                         ; +0xd9, 0x100492919\ncall    qword ptr [rax+3E8h]                                           ; +0xde, 0x10049291e\nmov     rdi, [rbx+2B0h]                                                ; +0xe4, 0x100492924\nmov     rax, [rdi]                                                     ; +0xeb, 0x10049292b\nmov     esi, 1                                                         ; +0xee, 0x10049292e\ncall    qword ptr [rax+3E8h]                                           ; +0xf3, 0x100492933\nmov     rax, [rbx]                                                     ; +0xf9, 0x100492939\nmov     rdi, rbx                                                       ; +0xfc, 0x10049293c\nmov     esi, 1                                                         ; +0xff, 0x10049293f\ncall    qword ptr [rax+3E8h]                                           ; +0x104, 0x100492944\nmov     rax, [rbx]                                                     ; +0x10a, 0x10049294a\nmov     rdi, rbx                                                       ; +0x10d, 0x10049294d\nmov     esi, 1                                                         ; +0x110, 0x100492950\ncall    qword ptr [rax+430h]                                           ; +0x115, 0x100492955\nmov     rdi, [rbx+2C8h]                                                ; +0x11b, 0x10049295b\nmov     rax, [rdi]                                                     ; +0x122, 0x100492962\nmov     rax, [rax+158h]                                                ; +0x125, 0x100492965\nxor     esi, esi                                                       ; +0x12c, 0x10049296c\npop     rbx                                                            ; +0x12e, 0x10049296e\npop     r14                                                            ; +0x12f, 0x10049296f\npop     rbp                                                            ; +0x131, 0x100492971\njmp     rax                                                            ; +0x132, 0x100492972", "xrefs": ["sub_100492A70 @ 0x100492a7c", "<???> @ 0x100b4f020"], "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"}