{"type": "func", "start": 8713240, "end": 8713572, "name": "AccountRegisterLayer::resetLabel", "pseudocode": "// \n// AccountRegisterLayer::resetLabel from 0x84f418 to 0x84f564 (332 bytes)\n// \n// 8 xrefs:\n// > AccountRegisterLayer::resetLabels @ 0x84f578\n// > AccountRegisterLayer::resetLabels @ 0x84f584\n// > AccountRegisterLayer::resetLabels @ 0x84f590\n// > AccountRegisterLayer::resetLabels @ 0x84f59c\n// > AccountRegisterLayer::resetLabels @ 0x84f5b0\n// > AccountRegisterLayer::textInputClosed @ 0x8500e8\n// > AccountRegisterLayer::textInputClosed @ 0x850320\n// > <???> @ 0x6e718\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 AccountRegisterLayer::resetLabel(AccountRegisterLayer *a1, int a2)\n{\n  cocos2d::CCLabelBMFont *m_usernameLabel; // x1\n\n  switch ( a2 )\n  {\n    case 1:\n      a1->m_usernameLabel->setString(a1->m_usernameLabel, \"Username: (shown to other players)\");\n      m_usernameLabel = a1->m_usernameLabel;\n      goto LABEL_5;\n    case 2:\n      a1->m_passwordLabel->setString(a1->m_passwordLabel, (const unsigned __int8 *)\"Password:\");\n      m_usernameLabel = a1->m_passwordLabel;\n      goto LABEL_5;\n    case 3:\n      a1->m_confirmPasswordLabel->setString(a1->m_confirmPasswordLabel, \"Confirm Password:\");\n      m_usernameLabel = a1->m_confirmPasswordLabel;\nLABEL_5:\n      m_usernameLabel->setColor(m_usernameLabel, (const cocos2d::ccColor3B *)&off_EEC898);\n      return;\n    case 4:\n      a1->m_emailLabel->setString(a1->m_emailLabel, \"Email:\");\n      a1->m_emailLabel->setColor(a1->m_emailLabel, (const cocos2d::ccColor3B *)&off_EEC898);\n      goto LABEL_3;\n    case 5:\nLABEL_3:\n      a1->m_verifyEmailLabel->setString(a1->m_verifyEmailLabel, \"Verify Email:\");\n      a1->m_verifyEmailLabel->setColor(a1->m_verifyEmailLabel, (const cocos2d::ccColor3B *)&off_EEC898);\n      break;\n    default:\n      return;\n  }\n}", "assembly": "; \n; AccountRegisterLayer::resetLabel from 0x84f418 to 0x84f564 (332 bytes)\n; \n; 8 xrefs:\n; > AccountRegisterLayer::resetLabels @ 0x84f578\n; > AccountRegisterLayer::resetLabels @ 0x84f584\n; > AccountRegisterLayer::resetLabels @ 0x84f590\n; > AccountRegisterLayer::resetLabels @ 0x84f59c\n; > AccountRegisterLayer::resetLabels @ 0x84f5b0\n; > AccountRegisterLayer::textInputClosed @ 0x8500e8\n; > AccountRegisterLayer::textInputClosed @ 0x850320\n; > <???> @ 0x6e718\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\nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x84f418\nSUB             W1, W1, #1; switch 5 cases                             ; +0x4, 0x84f41c\nMOV             X29, SP                                                ; +0x8, 0x84f420\nSTP             X19, X20, [SP,#var_s10]                                ; +0xc, 0x84f424\nCMP             W1, #4                                                 ; +0x10, 0x84f428\nB.HI            def_84F448; jumptable 000000000084F448 default case    ; +0x14, 0x84f42c\nMOV             X19, X0                                                ; +0x18, 0x84f430\nADRL            X0, jpt_84F448                                         ; +0x1c, 0x84f434\nLDRB            W0, [X0,W1,UXTW]                                       ; +0x24, 0x84f43c\nADR             X1, loc_84F44C; jumptable 000000000084F448 case 4      ; +0x28, 0x84f440\nADD             X0, X1, W0,SXTB#2                                      ; +0x2c, 0x84f444\nBR              X0; switch jump                                        ; +0x30, 0x84f448\nLDR             X2, [X19,#0x2D0]; jumptable 000000000084F448 case 4    ; +0x34, 0x84f44c\nADRL            X1, aEmail; \"Email:\"                                   ; +0x38, 0x84f450\nADRP            X20, #unk_EEC890@PAGE                                  ; +0x40, 0x84f458\nMOV             X0, X2                                                 ; +0x44, 0x84f45c\nLDR             X2, [X2]                                               ; +0x48, 0x84f460\nLDR             X2, [X2,#0x390]                                        ; +0x4c, 0x84f464\nBLR             X2                                                     ; +0x50, 0x84f468\nLDR             X2, [X19,#0x2D0]                                       ; +0x54, 0x84f46c\nADD             X1, X20, #unk_EEC890@PAGEOFF                           ; +0x58, 0x84f470\nADD             X1, X1, #8                                             ; +0x5c, 0x84f474\nMOV             X0, X2                                                 ; +0x60, 0x84f478\nLDR             X2, [X2]                                               ; +0x64, 0x84f47c\nLDR             X2, [X2,#0x420]                                        ; +0x68, 0x84f480\nBLR             X2                                                     ; +0x6c, 0x84f484\nLDR             X2, [X19,#0x2D8]                                       ; +0x70, 0x84f488\nADRL            X1, aVerifyEmail; \"Verify Email:\"                      ; +0x74, 0x84f48c\nMOV             X0, X2                                                 ; +0x7c, 0x84f494\nLDR             X2, [X2]                                               ; +0x80, 0x84f498\nLDR             X2, [X2,#0x390]                                        ; +0x84, 0x84f49c\nBLR             X2                                                     ; +0x88, 0x84f4a0\nLDR             X2, [X19,#0x2D8]                                       ; +0x8c, 0x84f4a4\nADD             X1, X20, #unk_EEC890@PAGEOFF                           ; +0x90, 0x84f4a8\nADD             X1, X1, #8                                             ; +0x94, 0x84f4ac\nMOV             X0, X2                                                 ; +0x98, 0x84f4b0\nLDR             X2, [X2]                                               ; +0x9c, 0x84f4b4\nLDR             X2, [X2,#0x420]                                        ; +0xa0, 0x84f4b8\nBLR             X2                                                     ; +0xa4, 0x84f4bc\nLDP             X19, X20, [SP,#var_s10]; jumptable 000000000084F448 default case ; +0xa8, 0x84f4c0\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0xac, 0x84f4c4\nRET                                                                    ; +0xb0, 0x84f4c8\nLDR             X2, [X19,#0x2B8]; jumptable 000000000084F448 case 1    ; +0xb4, 0x84f4cc\nADRL            X1, aUsernameShownT; \"Username: (shown to other players)\" ; +0xb8, 0x84f4d0\nMOV             X0, X2                                                 ; +0xc0, 0x84f4d8\nLDR             X2, [X2]                                               ; +0xc4, 0x84f4dc\nLDR             X2, [X2,#0x390]                                        ; +0xc8, 0x84f4e0\nBLR             X2                                                     ; +0xcc, 0x84f4e4\nLDR             X1, [X19,#0x2B8]                                       ; +0xd0, 0x84f4e8\nLDR             X2, [X1]                                               ; +0xd4, 0x84f4ec\nMOV             X0, X1                                                 ; +0xd8, 0x84f4f0\nADRL            X1, unk_EEC890                                         ; +0xdc, 0x84f4f4\nLDR             X2, [X2,#0x420]                                        ; +0xe4, 0x84f4fc\nADD             X1, X1, #(off_EEC898 - 0xEEC890)                       ; +0xe8, 0x84f500\nBLR             X2                                                     ; +0xec, 0x84f504\nLDP             X19, X20, [SP,#var_s10]                                ; +0xf0, 0x84f508\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0xf4, 0x84f50c\nRET                                                                    ; +0xf8, 0x84f510\nLDR             X2, [X19,#0x2C0]; jumptable 000000000084F448 case 2    ; +0xfc, 0x84f514\nADRL            X1, (aConfirmPasswor+8); \"Password:\"                   ; +0x100, 0x84f518\nMOV             X0, X2                                                 ; +0x108, 0x84f520\nLDR             X2, [X2]                                               ; +0x10c, 0x84f524\nLDR             X2, [X2,#0x390]                                        ; +0x110, 0x84f528\nBLR             X2                                                     ; +0x114, 0x84f52c\nLDR             X1, [X19,#0x2C0]                                       ; +0x118, 0x84f530\nB               loc_84F4EC                                             ; +0x11c, 0x84f534\nLDR             X2, [X19,#0x2C8]; jumptable 000000000084F448 case 3    ; +0x120, 0x84f538\nADRL            X1, aConfirmPasswor; \"Confirm Password:\"               ; +0x124, 0x84f53c\nMOV             X0, X2                                                 ; +0x12c, 0x84f544\nLDR             X2, [X2]                                               ; +0x130, 0x84f548\nLDR             X2, [X2,#0x390]                                        ; +0x134, 0x84f54c\nBLR             X2                                                     ; +0x138, 0x84f550\nLDR             X1, [X19,#0x2C8]                                       ; +0x13c, 0x84f554\nB               loc_84F4EC                                             ; +0x140, 0x84f558\nADRP            X20, #unk_EEC890@PAGE; jumptable 000000000084F448 case 5 ; +0x144, 0x84f55c\nB               loc_84F488                                             ; +0x148, 0x84f560", "xrefs": ["AccountRegisterLayer::resetLabels @ 0x84f578", "AccountRegisterLayer::resetLabels @ 0x84f584", "AccountRegisterLayer::resetLabels @ 0x84f590", "AccountRegisterLayer::resetLabels @ 0x84f59c", "AccountRegisterLayer::resetLabels @ 0x84f5b0", "AccountRegisterLayer::textInputClosed @ 0x8500e8", "AccountRegisterLayer::textInputClosed @ 0x850320", "<???> @ 0x6e718"], "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"}