{"type": "func", "start": 10025792, "end": 10026172, "name": "AccountRegisterLayer::resetLabel", "pseudocode": "// \n// AccountRegisterLayer::resetLabel from 0x98fb40 to 0x98fcbc (380 bytes)\n// \n// 9 xrefs:\n// > AccountRegisterLayer::resetLabels @ 0x98fcd0\n// > AccountRegisterLayer::resetLabels @ 0x98fcdc\n// > AccountRegisterLayer::resetLabels @ 0x98fce8\n// > AccountRegisterLayer::resetLabels @ 0x98fcf4\n// > AccountRegisterLayer::resetLabels @ 0x98fd08\n// > AccountRegisterLayer::textInputClosed @ 0x993ad8\n// > AccountRegisterLayer::textInputClosed @ 0x993c84\n// > AccountRegisterLayer::textChanged @ 0x994174\n// > <???> @ 0x94f90\n// \n// This function is hookable on this platform (idp: arm, 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:57:58 +0000\n// \n\n_QWORD **__fastcall AccountRegisterLayer::resetLabel(_QWORD **this, int a2)\n{\n  _QWORD **v2; // x19\n  _QWORD *v3; // x2\n\n  v2 = this;\n  switch ( a2 )\n  {\n    case 1:\n      (*(void (__fastcall **)(_QWORD, const char *))(**(this + 90) + 928LL))(\n        *(this + 90),\n        \"Username: (shown to other players)\");\n      v3 = v2[90];\n      return (_QWORD **)(*(__int64 (__fastcall **)(_QWORD *, void *))(*v3 + 1072LL))(v3, &unk_116B4B8);\n    case 2:\n      (*(void (__fastcall **)(_QWORD, char *))(**(this + 91) + 928LL))(*(this + 91), \"Password:\");\n      (*(void (__fastcall **)(_QWORD *, void *))(*v2[91] + 1072LL))(v2[91], &unk_116B4B8);\n      this = (_QWORD **)v2[92];\n      if ( this )\n        return (_QWORD **)((__int64 (__fastcall *)(_QWORD **, char *))(*this)[116])(this, &byte_11B8890);\n      return this;\n    case 3:\n      (*(void (__fastcall **)(_QWORD, const char *))(**(this + 93) + 928LL))(*(this + 93), \"Confirm Password:\");\n      v3 = v2[93];\n      return (_QWORD **)(*(__int64 (__fastcall **)(_QWORD *, void *))(*v3 + 1072LL))(v3, &unk_116B4B8);\n    case 4:\n      (*(void (__fastcall **)(_QWORD, const char *))(**(this + 94) + 928LL))(*(this + 94), \"Email:\");\n      (*(void (__fastcall **)(_QWORD *, void *))(*v2[94] + 1072LL))(v2[94], &unk_116B4B8);\n      goto LABEL_3;\n    case 5:\nLABEL_3:\n      (*(void (__fastcall **)(_QWORD *, const char *))(*v2[95] + 928LL))(v2[95], \"Verify Email:\");\n      this = (_QWORD **)(*(__int64 (__fastcall **)(_QWORD *, void *))(*v2[95] + 1072LL))(v2[95], &unk_116B4B8);\n      break;\n    default:\n      return this;\n  }\n  return this;\n}", "assembly": "; \n; AccountRegisterLayer::resetLabel from 0x98fb40 to 0x98fcbc (380 bytes)\n; \n; 9 xrefs:\n; > AccountRegisterLayer::resetLabels @ 0x98fcd0\n; > AccountRegisterLayer::resetLabels @ 0x98fcdc\n; > AccountRegisterLayer::resetLabels @ 0x98fce8\n; > AccountRegisterLayer::resetLabels @ 0x98fcf4\n; > AccountRegisterLayer::resetLabels @ 0x98fd08\n; > AccountRegisterLayer::textInputClosed @ 0x993ad8\n; > AccountRegisterLayer::textInputClosed @ 0x993c84\n; > AccountRegisterLayer::textChanged @ 0x994174\n; > <???> @ 0x94f90\n; \n; This function is hookable on this platform (idp: arm, 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:57:58 +0000\n; \nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x98fb40\nSUB             W1, W1, #1; switch 5 cases                             ; +0x4, 0x98fb44\nMOV             X29, SP                                                ; +0x8, 0x98fb48\nSTP             X19, X20, [SP,#var_s10]                                ; +0xc, 0x98fb4c\nCMP             W1, #4                                                 ; +0x10, 0x98fb50\nB.HI            def_98FB70; jumptable 000000000098FB70 default case    ; +0x14, 0x98fb54\nMOV             X19, X0                                                ; +0x18, 0x98fb58\nADRL            X0, jpt_98FB70                                         ; +0x1c, 0x98fb5c\nLDRB            W0, [X0,W1,UXTW]                                       ; +0x24, 0x98fb64\nADR             X1, loc_98FB74; jumptable 000000000098FB70 case 4      ; +0x28, 0x98fb68\nADD             X0, X1, W0,SXTB#2                                      ; +0x2c, 0x98fb6c\nBR              X0; switch jump                                        ; +0x30, 0x98fb70\nLDR             X2, [X19,#0x2F0]; jumptable 000000000098FB70 case 4    ; +0x34, 0x98fb74\nADRL            X1, aEmail; \"Email:\"                                   ; +0x38, 0x98fb78\nADRP            X20, #unk_116B4B8@PAGE                                 ; +0x40, 0x98fb80\nMOV             X0, X2                                                 ; +0x44, 0x98fb84\nLDR             X2, [X2]                                               ; +0x48, 0x98fb88\nLDR             X2, [X2,#0x3A0]                                        ; +0x4c, 0x98fb8c\nBLR             X2                                                     ; +0x50, 0x98fb90\nLDR             X2, [X19,#0x2F0]                                       ; +0x54, 0x98fb94\nADD             X1, X20, #unk_116B4B8@PAGEOFF                          ; +0x58, 0x98fb98\nMOV             X0, X2                                                 ; +0x5c, 0x98fb9c\nLDR             X2, [X2]                                               ; +0x60, 0x98fba0\nLDR             X2, [X2,#0x430]                                        ; +0x64, 0x98fba4\nBLR             X2                                                     ; +0x68, 0x98fba8\nLDR             X2, [X19,#0x2F8]                                       ; +0x6c, 0x98fbac\nADRL            X1, aVerifyEmail; \"Verify Email:\"                      ; +0x70, 0x98fbb0\nMOV             X0, X2                                                 ; +0x78, 0x98fbb8\nLDR             X2, [X2]                                               ; +0x7c, 0x98fbbc\nLDR             X2, [X2,#0x3A0]                                        ; +0x80, 0x98fbc0\nBLR             X2                                                     ; +0x84, 0x98fbc4\nLDR             X2, [X19,#0x2F8]                                       ; +0x88, 0x98fbc8\nADD             X1, X20, #unk_116B4B8@PAGEOFF                          ; +0x8c, 0x98fbcc\nMOV             X0, X2                                                 ; +0x90, 0x98fbd0\nLDR             X2, [X2]                                               ; +0x94, 0x98fbd4\nLDR             X2, [X2,#0x430]                                        ; +0x98, 0x98fbd8\nBLR             X2                                                     ; +0x9c, 0x98fbdc\nLDP             X19, X20, [SP,#var_s10]; jumptable 000000000098FB70 default case ; +0xa0, 0x98fbe0\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0xa4, 0x98fbe4\nRET                                                                    ; +0xa8, 0x98fbe8\nLDR             X2, [X19,#0x2D0]; jumptable 000000000098FB70 case 1    ; +0xac, 0x98fbec\nADRL            X1, aUsernameShownT; \"Username: (shown to other players)\" ; +0xb0, 0x98fbf0\nMOV             X0, X2                                                 ; +0xb8, 0x98fbf8\nLDR             X2, [X2]                                               ; +0xbc, 0x98fbfc\nLDR             X2, [X2,#0x3A0]                                        ; +0xc0, 0x98fc00\nBLR             X2                                                     ; +0xc4, 0x98fc04\nLDR             X2, [X19,#0x2D0]                                       ; +0xc8, 0x98fc08\nMOV             X0, X2                                                 ; +0xcc, 0x98fc0c\nLDR             X2, [X2]                                               ; +0xd0, 0x98fc10\nADRL            X1, unk_116B4B8                                        ; +0xd4, 0x98fc14\nLDR             X2, [X2,#0x430]                                        ; +0xdc, 0x98fc1c\nBLR             X2                                                     ; +0xe0, 0x98fc20\nLDP             X19, X20, [SP,#var_s10]                                ; +0xe4, 0x98fc24\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0xe8, 0x98fc28\nRET                                                                    ; +0xec, 0x98fc2c\nLDR             X2, [X19,#0x2D8]; jumptable 000000000098FB70 case 2    ; +0xf0, 0x98fc30\nADRL            X1, (aConfirmPasswor+8); \"Password:\"                   ; +0xf4, 0x98fc34\nMOV             X0, X2                                                 ; +0xfc, 0x98fc3c\nLDR             X2, [X2]                                               ; +0x100, 0x98fc40\nLDR             X2, [X2,#0x3A0]                                        ; +0x104, 0x98fc44\nBLR             X2                                                     ; +0x108, 0x98fc48\nLDR             X2, [X19,#0x2D8]                                       ; +0x10c, 0x98fc4c\nADRL            X1, unk_116B4B8                                        ; +0x110, 0x98fc50\nMOV             X0, X2                                                 ; +0x118, 0x98fc58\nLDR             X2, [X2]                                               ; +0x11c, 0x98fc5c\nLDR             X2, [X2,#0x430]                                        ; +0x120, 0x98fc60\nBLR             X2                                                     ; +0x124, 0x98fc64\nLDR             X0, [X19,#0x2E0]                                       ; +0x128, 0x98fc68\nCBZ             X0, def_98FB70; jumptable 000000000098FB70 default case ; +0x12c, 0x98fc6c\nLDR             X2, [X0]                                               ; +0x130, 0x98fc70\nADRL            X1, byte_11B8890                                       ; +0x134, 0x98fc74\nLDR             X2, [X2,#0x3A0]                                        ; +0x13c, 0x98fc7c\nBLR             X2                                                     ; +0x140, 0x98fc80\nLDP             X19, X20, [SP,#var_s10]                                ; +0x144, 0x98fc84\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x148, 0x98fc88\nRET                                                                    ; +0x14c, 0x98fc8c\nLDR             X2, [X19,#0x2E8]; jumptable 000000000098FB70 case 3    ; +0x150, 0x98fc90\nADRL            X1, aConfirmPasswor; \"Confirm Password:\"               ; +0x154, 0x98fc94\nMOV             X0, X2                                                 ; +0x15c, 0x98fc9c\nLDR             X2, [X2]                                               ; +0x160, 0x98fca0\nLDR             X2, [X2,#0x3A0]                                        ; +0x164, 0x98fca4\nBLR             X2                                                     ; +0x168, 0x98fca8\nLDR             X2, [X19,#0x2E8]                                       ; +0x16c, 0x98fcac\nB               loc_98FC0C                                             ; +0x170, 0x98fcb0\nADRP            X20, #unk_116B4B8@PAGE; jumptable 000000000098FB70 case 5 ; +0x174, 0x98fcb4\nB               loc_98FBAC                                             ; +0x178, 0x98fcb8", "xrefs": ["AccountRegisterLayer::resetLabels @ 0x98fcd0", "AccountRegisterLayer::resetLabels @ 0x98fcdc", "AccountRegisterLayer::resetLabels @ 0x98fce8", "AccountRegisterLayer::resetLabels @ 0x98fcf4", "AccountRegisterLayer::resetLabels @ 0x98fd08", "AccountRegisterLayer::textInputClosed @ 0x993ad8", "AccountRegisterLayer::textInputClosed @ 0x993c84", "AccountRegisterLayer::textChanged @ 0x994174", "<???> @ 0x94f90"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}