{"type": "func", "start": 4623464, "end": 4623654, "name": "AccountRegisterLayer::resetLabel", "pseudocode": "// \n// AccountRegisterLayer::resetLabel from 0x468c68 to 0x468d26 (190 bytes)\n// \n// 7 xrefs:\n// > AccountRegisterLayer::resetLabels @ 0x468d56\n// > AccountRegisterLayer::resetLabels @ 0x468d5e\n// > AccountRegisterLayer::resetLabels @ 0x468d66\n// > AccountRegisterLayer::resetLabels @ 0x468d6e\n// > AccountRegisterLayer::resetLabels @ 0x468d7a\n// > AccountRegisterLayer::textInputClosed @ 0x469138\n// > AccountRegisterLayer::textInputClosed @ 0x469194\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  void (*setColor)(void); // r3\n\n  switch ( a2 )\n  {\n    case 1:\n      a1->m_usernameLabel->setString(a1->m_usernameLabel, \"Username: (shown to other players)\");\n      setColor = (void (*)(void))a1->m_usernameLabel->setColor;\n      goto LABEL_7;\n    case 2:\n      a1->m_passwordLabel->setString(a1->m_passwordLabel, \"Password:\");\n      setColor = (void (*)(void))a1->m_passwordLabel->setColor;\n      goto LABEL_7;\n    case 3:\n      a1->m_confirmPasswordLabel->setString(a1->m_confirmPasswordLabel, \"Confirm Password:\");\n      setColor = (void (*)(void))a1->m_confirmPasswordLabel->setColor;\n      goto LABEL_7;\n    case 4:\n      a1->m_emailLabel->setString(a1->m_emailLabel, \"Email:\");\n      a1->m_emailLabel->setColor(a1->m_emailLabel, (const cocos2d::ccColor3B *)&unk_9ABEFF);\n      goto LABEL_6;\n    case 5:\nLABEL_6:\n      a1->m_verifyEmailLabel->setString(a1->m_verifyEmailLabel, \"Verify Email:\");\n      setColor = (void (*)(void))a1->m_verifyEmailLabel->setColor;\nLABEL_7:\n      setColor();\n      break;\n    default:\n      return;\n  }\n}", "assembly": "; \n; AccountRegisterLayer::resetLabel from 0x468c68 to 0x468d26 (190 bytes)\n; \n; 7 xrefs:\n; > AccountRegisterLayer::resetLabels @ 0x468d56\n; > AccountRegisterLayer::resetLabels @ 0x468d5e\n; > AccountRegisterLayer::resetLabels @ 0x468d66\n; > AccountRegisterLayer::resetLabels @ 0x468d6e\n; > AccountRegisterLayer::resetLabels @ 0x468d7a\n; > AccountRegisterLayer::textInputClosed @ 0x469138\n; > AccountRegisterLayer::textInputClosed @ 0x469194\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\nSUBS            R1, #1; switch 5 cases                                 ; +0x0, 0x468c68\nPUSH            {R4,LR}                                                ; +0x2, 0x468c6a\nMOV             R4, R0                                                 ; +0x4, 0x468c6c\nCMP             R1, #4                                                 ; +0x6, 0x468c6e\nBHI             def_468C72; jumptable 00468C72 default case            ; +0x8, 0x468c70\nTBB.W           [PC,R1]; switch jump                                   ; +0xa, 0x468c72\nDCB 3; jump table for switch statement                                 ; +0xe, 0x468c76\nDCB 0x13                                                               ; +0xf, 0x468c77\nDCB 0x23                                                               ; +0x10, 0x468c78\nDCB 0x33                                                               ; +0x11, 0x468c79\nDCB 0x44                                                               ; +0x12, 0x468c7a\nALIGN 2                                                                ; +0x13, 0x468c7b\nLDR.W           R0, [R0,#0x210]; jumptable 00468C72 case 1             ; +0x14, 0x468c7c\nLDR             R1, =(aUsernameShownT - 0x468C88); \"Username: (shown to other players)\" ; +0x18, 0x468c80\nLDR             R3, [R0]                                               ; +0x1a, 0x468c82\nADD             R1, PC; \"Username: (shown to other players)\"           ; +0x1c, 0x468c84\nLDR.W           R3, [R3,#0x1C8]                                        ; +0x1e, 0x468c86\nBLX             R3                                                     ; +0x22, 0x468c8a\nLDR.W           R0, [R4,#0x210]                                        ; +0x24, 0x468c8c\nLDR             R1, =(unk_9ABEFC - 0x468C98)                           ; +0x28, 0x468c90\nLDR             R3, [R0]                                               ; +0x2a, 0x468c92\nADD             R1, PC; unk_9ABEFC                                     ; +0x2c, 0x468c94\nLDR.W           R3, [R3,#0x210]                                        ; +0x2e, 0x468c96\nB               loc_468D1C                                             ; +0x32, 0x468c9a\nLDR.W           R0, [R0,#0x214]; jumptable 00468C72 case 2             ; +0x34, 0x468c9c\nLDR             R1, =(aPassword - 0x468CA8); \"Password:\"               ; +0x38, 0x468ca0\nLDR             R3, [R0]                                               ; +0x3a, 0x468ca2\nADD             R1, PC; \"Password:\"                                    ; +0x3c, 0x468ca4\nLDR.W           R3, [R3,#0x1C8]                                        ; +0x3e, 0x468ca6\nBLX             R3                                                     ; +0x42, 0x468caa\nLDR.W           R0, [R4,#0x214]                                        ; +0x44, 0x468cac\nLDR             R1, =(unk_9ABEFC - 0x468CB8)                           ; +0x48, 0x468cb0\nLDR             R3, [R0]                                               ; +0x4a, 0x468cb2\nADD             R1, PC; unk_9ABEFC                                     ; +0x4c, 0x468cb4\nLDR.W           R3, [R3,#0x210]                                        ; +0x4e, 0x468cb6\nB               loc_468D1C                                             ; +0x52, 0x468cba\nLDR.W           R0, [R0,#0x218]; jumptable 00468C72 case 3             ; +0x54, 0x468cbc\nLDR             R1, =(aConfirmPasswor - 0x468CC8); \"Confirm Password:\" ; +0x58, 0x468cc0\nLDR             R3, [R0]                                               ; +0x5a, 0x468cc2\nADD             R1, PC; \"Confirm Password:\"                            ; +0x5c, 0x468cc4\nLDR.W           R3, [R3,#0x1C8]                                        ; +0x5e, 0x468cc6\nBLX             R3                                                     ; +0x62, 0x468cca\nLDR.W           R0, [R4,#0x218]                                        ; +0x64, 0x468ccc\nLDR             R1, =(unk_9ABEFC - 0x468CD8)                           ; +0x68, 0x468cd0\nLDR             R3, [R0]                                               ; +0x6a, 0x468cd2\nADD             R1, PC; unk_9ABEFC                                     ; +0x6c, 0x468cd4\nLDR.W           R3, [R3,#0x210]                                        ; +0x6e, 0x468cd6\nB               loc_468D1C                                             ; +0x72, 0x468cda\nLDR.W           R0, [R0,#0x21C]; jumptable 00468C72 case 4             ; +0x74, 0x468cdc\nLDR             R1, =(aEmail_0 - 0x468CE8); \"Email:\"                   ; +0x78, 0x468ce0\nLDR             R3, [R0]                                               ; +0x7a, 0x468ce2\nADD             R1, PC; \"Email:\"                                       ; +0x7c, 0x468ce4\nLDR.W           R3, [R3,#0x1C8]                                        ; +0x7e, 0x468ce6\nBLX             R3                                                     ; +0x82, 0x468cea\nLDR.W           R0, [R4,#0x21C]                                        ; +0x84, 0x468cec\nLDR             R1, =(unk_9ABEFC - 0x468CF8)                           ; +0x88, 0x468cf0\nLDR             R3, [R0]                                               ; +0x8a, 0x468cf2\nADD             R1, PC; unk_9ABEFC                                     ; +0x8c, 0x468cf4\nADDS            R1, #(unk_9ABEFF - 0x9ABEFC)                           ; +0x8e, 0x468cf6\nLDR.W           R3, [R3,#0x210]                                        ; +0x90, 0x468cf8\nBLX             R3                                                     ; +0x94, 0x468cfc\nLDR.W           R0, [R4,#0x220]; jumptable 00468C72 case 5             ; +0x96, 0x468cfe\nLDR             R1, =(aVerifyEmail - 0x468D0A); \"Verify Email:\"        ; +0x9a, 0x468d02\nLDR             R3, [R0]                                               ; +0x9c, 0x468d04\nADD             R1, PC; \"Verify Email:\"                                ; +0x9e, 0x468d06\nLDR.W           R3, [R3,#0x1C8]                                        ; +0xa0, 0x468d08\nBLX             R3                                                     ; +0xa4, 0x468d0c\nLDR.W           R0, [R4,#0x220]                                        ; +0xa6, 0x468d0e\nLDR             R1, =(unk_9ABEFC - 0x468D1A)                           ; +0xaa, 0x468d12\nLDR             R3, [R0]                                               ; +0xac, 0x468d14\nADD             R1, PC; unk_9ABEFC                                     ; +0xae, 0x468d16\nLDR.W           R3, [R3,#0x210]                                        ; +0xb0, 0x468d18\nADDS            R1, #(unk_9ABEFF - 0x9ABEFC)                           ; +0xb4, 0x468d1c\nPOP.W           {R4,LR}                                                ; +0xb6, 0x468d1e\nBX              R3                                                     ; +0xba, 0x468d22\nPOP             {R4,PC}; jumptable 00468C72 default case               ; +0xbc, 0x468d24", "xrefs": ["AccountRegisterLayer::resetLabels @ 0x468d56", "AccountRegisterLayer::resetLabels @ 0x468d5e", "AccountRegisterLayer::resetLabels @ 0x468d66", "AccountRegisterLayer::resetLabels @ 0x468d6e", "AccountRegisterLayer::resetLabels @ 0x468d7a", "AccountRegisterLayer::textInputClosed @ 0x469138", "AccountRegisterLayer::textInputClosed @ 0x469194"], "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"}