{"type": "func", "start": 4299745776, "end": 4299746067, "name": "AccountRegisterLayer::resetLabel", "pseudocode": "// \n// AccountRegisterLayer::resetLabel from 0x10048e9f0 to 0x10048eb13 (291 bytes)\n// \n// 1 xrefs:\n// > AccountRegisterLayer::textInputClosed @ 0x100490121\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:45 +0000\n// \n\n__int64 __fastcall AccountRegisterLayer::resetLabel(__int64 a1, int a2)\n{\n  __int64 v2; // rdi\n  __int64 result; // rax\n  __int64 v4; // rdi\n\n  switch ( a2 )\n  {\n    case 1:\n      (*(void (__fastcall **)(_QWORD, const char *))(**(_QWORD **)(a1 + 720) + 928LL))(\n        *(_QWORD *)(a1 + 720),\n        \"Username: (shown to other players)\");\n      v2 = *(_QWORD *)(a1 + 720);\n      goto LABEL_6;\n    case 2:\n      (*(void (__fastcall **)(_QWORD, const char *))(**(_QWORD **)(a1 + 728) + 928LL))(\n        *(_QWORD *)(a1 + 728),\n        \"Password:\");\n      result = (*(__int64 (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 728) + 1072LL))(\n                 *(_QWORD *)(a1 + 728),\n                 &unk_100A0B963);\n      v4 = *(_QWORD *)(a1 + 736);\n      if ( v4 )\n        return (*(__int64 (__fastcall **)(__int64, const char *))(*(_QWORD *)v4 + 928LL))(v4, \"\");\n      return result;\n    case 3:\n      (*(void (__fastcall **)(_QWORD, const char *))(**(_QWORD **)(a1 + 744) + 928LL))(\n        *(_QWORD *)(a1 + 744),\n        \"Confirm Password:\");\n      v2 = *(_QWORD *)(a1 + 744);\n      goto LABEL_6;\n    case 4:\n      (*(void (__fastcall **)(_QWORD, const char *))(**(_QWORD **)(a1 + 752) + 928LL))(*(_QWORD *)(a1 + 752), \"Email:\");\n      (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 752) + 1072LL))(*(_QWORD *)(a1 + 752), &unk_100A0B963);\n      goto LABEL_4;\n    case 5:\nLABEL_4:\n      (*(void (__fastcall **)(_QWORD, const char *))(**(_QWORD **)(a1 + 760) + 928LL))(\n        *(_QWORD *)(a1 + 760),\n        \"Verify Email:\");\n      v2 = *(_QWORD *)(a1 + 760);\nLABEL_6:\n      result = (*(__int64 (__fastcall **)(__int64, void *))(*(_QWORD *)v2 + 1072LL))(v2, &unk_100A0B963);\n      break;\n    default:\n      return result;\n  }\n  return result;\n}", "assembly": "; \n; AccountRegisterLayer::resetLabel from 0x10048e9f0 to 0x10048eb13 (291 bytes)\n; \n; 1 xrefs:\n; > AccountRegisterLayer::textInputClosed @ 0x100490121\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:45 +0000\n; \npush    rbp                                                            ; +0x0, 0x10048e9f0\nmov     rbp, rsp                                                       ; +0x1, 0x10048e9f1\npush    rbx                                                            ; +0x4, 0x10048e9f4\npush    rax                                                            ; +0x5, 0x10048e9f5\ndec     esi; switch 5 cases                                            ; +0x6, 0x10048e9f6\ncmp     esi, 4                                                         ; +0x8, 0x10048e9f8\nja      def_10048EA12; jumptable 000000010048EA12 default case         ; +0xb, 0x10048e9fb\nmov     rbx, rdi                                                       ; +0x11, 0x10048ea01\nlea     rax, jpt_10048EA12                                             ; +0x14, 0x10048ea04\nmovsxd  rcx, (jpt_10048EA12 - 10048EB14h)[rax+rsi*4]                   ; +0x1b, 0x10048ea0b\nadd     rcx, rax                                                       ; +0x1f, 0x10048ea0f\njmp     rcx; switch jump                                               ; +0x22, 0x10048ea12\nmov     rdi, [rbx+2D0h]; jumptable 000000010048EA12 case 1             ; +0x24, 0x10048ea14\nmov     rax, [rdi]                                                     ; +0x2b, 0x10048ea1b\nlea     rsi, aUsernameShownT; \"Username: (shown to other players)\"     ; +0x2e, 0x10048ea1e\ncall    qword ptr [rax+3A0h]                                           ; +0x35, 0x10048ea25\nmov     rdi, [rbx+2D0h]                                                ; +0x3b, 0x10048ea2b\njmp     short loc_10048EAA0                                            ; +0x42, 0x10048ea32\nmov     rdi, [rbx+2F0h]; jumptable 000000010048EA12 case 4             ; +0x44, 0x10048ea34\nmov     rax, [rdi]                                                     ; +0x4b, 0x10048ea3b\nlea     rsi, aEmail; \"Email:\"                                          ; +0x4e, 0x10048ea3e\ncall    qword ptr [rax+3A0h]                                           ; +0x55, 0x10048ea45\nmov     rdi, [rbx+2F0h]                                                ; +0x5b, 0x10048ea4b\nmov     rax, [rdi]                                                     ; +0x62, 0x10048ea52\nlea     rsi, unk_100A0B963                                             ; +0x65, 0x10048ea55\ncall    qword ptr [rax+430h]                                           ; +0x6c, 0x10048ea5c\nmov     rdi, [rbx+2F8h]; jumptable 000000010048EA12 case 5             ; +0x72, 0x10048ea62\nmov     rax, [rdi]                                                     ; +0x79, 0x10048ea69\nlea     rsi, aVerifyEmail; \"Verify Email:\"                             ; +0x7c, 0x10048ea6c\ncall    qword ptr [rax+3A0h]                                           ; +0x83, 0x10048ea73\nmov     rdi, [rbx+2F8h]                                                ; +0x89, 0x10048ea79\njmp     short loc_10048EAA0                                            ; +0x90, 0x10048ea80\nmov     rdi, [rbx+2E8h]; jumptable 000000010048EA12 case 3             ; +0x92, 0x10048ea82\nmov     rax, [rdi]                                                     ; +0x99, 0x10048ea89\nlea     rsi, aConfirmPasswor; \"Confirm Password:\"                      ; +0x9c, 0x10048ea8c\ncall    qword ptr [rax+3A0h]                                           ; +0xa3, 0x10048ea93\nmov     rdi, [rbx+2E8h]                                                ; +0xa9, 0x10048ea99\nmov     rax, [rdi]                                                     ; +0xb0, 0x10048eaa0\nmov     rax, [rax+430h]                                                ; +0xb3, 0x10048eaa3\nlea     rsi, unk_100A0B963                                             ; +0xba, 0x10048eaaa\nadd     rsp, 8                                                         ; +0xc1, 0x10048eab1\npop     rbx                                                            ; +0xc5, 0x10048eab5\npop     rbp                                                            ; +0xc6, 0x10048eab6\njmp     rax                                                            ; +0xc7, 0x10048eab7\nmov     rdi, [rbx+2D8h]; jumptable 000000010048EA12 case 2             ; +0xc9, 0x10048eab9\nmov     rax, [rdi]                                                     ; +0xd0, 0x10048eac0\nlea     rsi, aPassword; \"Password:\"                                    ; +0xd3, 0x10048eac3\ncall    qword ptr [rax+3A0h]                                           ; +0xda, 0x10048eaca\nmov     rdi, [rbx+2D8h]                                                ; +0xe0, 0x10048ead0\nmov     rax, [rdi]                                                     ; +0xe7, 0x10048ead7\nlea     rsi, unk_100A0B963                                             ; +0xea, 0x10048eada\ncall    qword ptr [rax+430h]                                           ; +0xf1, 0x10048eae1\nmov     rdi, [rbx+2E0h]                                                ; +0xf7, 0x10048eae7\ntest    rdi, rdi                                                       ; +0xfe, 0x10048eaee\njz      short def_10048EA12; jumptable 000000010048EA12 default case   ; +0x101, 0x10048eaf1\nmov     rax, [rdi]                                                     ; +0x103, 0x10048eaf3\nmov     rax, [rax+3A0h]                                                ; +0x106, 0x10048eaf6\nlea     rsi, asc_100A41668; \"\"                                         ; +0x10d, 0x10048eafd\nadd     rsp, 8                                                         ; +0x114, 0x10048eb04\npop     rbx                                                            ; +0x118, 0x10048eb08\npop     rbp                                                            ; +0x119, 0x10048eb09\njmp     rax                                                            ; +0x11a, 0x10048eb0a\nadd     rsp, 8; jumptable 000000010048EA12 default case                ; +0x11c, 0x10048eb0c\npop     rbx                                                            ; +0x120, 0x10048eb10\npop     rbp                                                            ; +0x121, 0x10048eb11\nretn                                                                   ; +0x122, 0x10048eb12", "xrefs": ["AccountRegisterLayer::textInputClosed @ 0x100490121"], "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"}