{"type": "func", "start": 4627600, "end": 4627848, "name": "AccountLoginLayer::updateLabel", "pseudocode": "// \n// AccountLoginLayer::updateLabel from 0x469c90 to 0x469d88 (248 bytes)\n// \n// 3 xrefs:\n// > AccountLoginLayer::textInputClosed @ 0x469e94\n// > AccountLoginLayer::onSubmit @ 0x46a02c\n// > AccountLoginLayer::loginAccountFailed @ 0x46a100\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 AccountLoginLayer::updateLabel(AccountLoginLayer *a1, AccountError a2)\n{\n  void (*setColor)(void); // r3\n\n  switch ( a2 )\n  {\n    case AlreadyLinkedToDifferentSteamAccount:\n      a1->m_usernameLabel->setString(a1->m_usernameLabel, \"Already linked to different Steam account\");\n      setColor = (void (*)(void))a1->m_usernameLabel->setColor;\n      break;\n    case AccountDisabled:\n      a1->m_usernameLabel->setString(a1->m_usernameLabel, \"Account has been disabled\");\n      a1->m_usernameLabel->setColor(a1->m_usernameLabel, (const cocos2d::ccColor3B *)&unk_9ABEFC);\n      a1->m_passwordLabel->setString(a1->m_passwordLabel, \"Contact RobTop Support for more info\");\n      setColor = (void (*)(void))a1->m_passwordLabel->setColor;\n      break;\n    case AlreadyLinkedToDifferentAccount:\n      a1->m_usernameLabel->setString(a1->m_usernameLabel, \"Already linked to different account\");\n      setColor = (void (*)(void))a1->m_usernameLabel->setColor;\n      break;\n    case TooShortLessThan3:\n      a1->m_usernameLabel->setString(a1->m_usernameLabel, \"Too short. Minimum 3 characters\");\n      setColor = (void (*)(void))a1->m_usernameLabel->setColor;\n      break;\n    case TooShortLessThan6:\n      a1->m_passwordLabel->setString(a1->m_passwordLabel, \"Too short. Minimum 6 characters\");\n      setColor = (void (*)(void))a1->m_passwordLabel->setColor;\n      break;\n    default:\n      a1->m_usernameLabel->setString(a1->m_usernameLabel, \"Login failed\");\n      setColor = (void (*)(void))a1->m_usernameLabel->setColor;\n      break;\n  }\n  setColor();\n}", "assembly": "; \n; AccountLoginLayer::updateLabel from 0x469c90 to 0x469d88 (248 bytes)\n; \n; 3 xrefs:\n; > AccountLoginLayer::textInputClosed @ 0x469e94\n; > AccountLoginLayer::onSubmit @ 0x46a02c\n; > AccountLoginLayer::loginAccountFailed @ 0x46a100\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\nADDS            R1, #0xD                                               ; +0x0, 0x469c90\nPUSH            {R4-R6,LR}                                             ; +0x2, 0x469c92\nMOV             R4, R0                                                 ; +0x4, 0x469c94\nCMP             R1, #5; switch 6 cases                                 ; +0x6, 0x469c96\nBHI             def_469C9A; jumptable 00469C9A default case, case 2    ; +0x8, 0x469c98\nTBB.W           [PC,R1]; switch jump                                   ; +0xa, 0x469c9a\nDCB 0x33; jump table for switch statement                              ; +0xe, 0x469c9e\nDCB 0x43                                                               ; +0xf, 0x469c9f\nDCB 0x63                                                               ; +0x10, 0x469ca0\nDCB 0x23                                                               ; +0x11, 0x469ca1\nDCB 0x13                                                               ; +0x12, 0x469ca2\nDCB 3                                                                  ; +0x13, 0x469ca3\nLDR.W           R0, [R0,#0x208]; jumptable 00469C9A case 5             ; +0x14, 0x469ca4\nLDR             R1, =(aTooShortMinimu - 0x469CB0); \"Too short. Minimum 6 characters\" ; +0x18, 0x469ca8\nLDR             R3, [R0]                                               ; +0x1a, 0x469caa\nADD             R1, PC; \"Too short. Minimum 6 characters\"              ; +0x1c, 0x469cac\nLDR.W           R3, [R3,#0x1C8]                                        ; +0x1e, 0x469cae\nBLX             R3                                                     ; +0x22, 0x469cb2\nLDR.W           R0, [R4,#0x208]                                        ; +0x24, 0x469cb4\nLDR             R1, =(unk_9ABEFC - 0x469CC0)                           ; +0x28, 0x469cb8\nLDR             R3, [R0]                                               ; +0x2a, 0x469cba\nADD             R1, PC; unk_9ABEFC                                     ; +0x2c, 0x469cbc\nLDR.W           R3, [R3,#0x210]                                        ; +0x2e, 0x469cbe\nB               loc_469D82                                             ; +0x32, 0x469cc2\nLDR.W           R0, [R0,#0x204]; jumptable 00469C9A case 4             ; +0x34, 0x469cc4\nLDR             R1, =(aTooShortMinimu_0 - 0x469CD0); \"Too short. Minimum 3 characters\" ; +0x38, 0x469cc8\nLDR             R3, [R0]                                               ; +0x3a, 0x469cca\nADD             R1, PC; \"Too short. Minimum 3 characters\"              ; +0x3c, 0x469ccc\nLDR.W           R3, [R3,#0x1C8]                                        ; +0x3e, 0x469cce\nBLX             R3                                                     ; +0x42, 0x469cd2\nLDR.W           R0, [R4,#0x204]                                        ; +0x44, 0x469cd4\nLDR             R1, =(unk_9ABEFC - 0x469CE0)                           ; +0x48, 0x469cd8\nLDR             R3, [R0]                                               ; +0x4a, 0x469cda\nADD             R1, PC; unk_9ABEFC                                     ; +0x4c, 0x469cdc\nLDR.W           R3, [R3,#0x210]                                        ; +0x4e, 0x469cde\nB               loc_469D82                                             ; +0x52, 0x469ce2\nLDR.W           R0, [R0,#0x204]; jumptable 00469C9A case 3             ; +0x54, 0x469ce4\nLDR             R1, =(aAlreadyLinkedT - 0x469CF0); \"Already linked to different account\" ; +0x58, 0x469ce8\nLDR             R3, [R0]                                               ; +0x5a, 0x469cea\nADD             R1, PC; \"Already linked to different account\"          ; +0x5c, 0x469cec\nLDR.W           R3, [R3,#0x1C8]                                        ; +0x5e, 0x469cee\nBLX             R3                                                     ; +0x62, 0x469cf2\nLDR.W           R0, [R4,#0x204]                                        ; +0x64, 0x469cf4\nLDR             R1, =(unk_9ABEFC - 0x469D00)                           ; +0x68, 0x469cf8\nLDR             R3, [R0]                                               ; +0x6a, 0x469cfa\nADD             R1, PC; unk_9ABEFC                                     ; +0x6c, 0x469cfc\nLDR.W           R3, [R3,#0x210]                                        ; +0x6e, 0x469cfe\nB               loc_469D82                                             ; +0x72, 0x469d02\nLDR.W           R0, [R0,#0x204]; jumptable 00469C9A case 0             ; +0x74, 0x469d04\nLDR             R1, =(aAlreadyLinkedT_0 - 0x469D10); \"Already linked to different Steam accou\"... ; +0x78, 0x469d08\nLDR             R3, [R0]                                               ; +0x7a, 0x469d0a\nADD             R1, PC; \"Already linked to different Steam accou\"...   ; +0x7c, 0x469d0c\nLDR.W           R3, [R3,#0x1C8]                                        ; +0x7e, 0x469d0e\nBLX             R3                                                     ; +0x82, 0x469d12\nLDR.W           R0, [R4,#0x204]                                        ; +0x84, 0x469d14\nLDR             R1, =(unk_9ABEFC - 0x469D20)                           ; +0x88, 0x469d18\nLDR             R3, [R0]                                               ; +0x8a, 0x469d1a\nADD             R1, PC; unk_9ABEFC                                     ; +0x8c, 0x469d1c\nLDR.W           R3, [R3,#0x210]                                        ; +0x8e, 0x469d1e\nB               loc_469D82                                             ; +0x92, 0x469d22\nLDR.W           R0, [R0,#0x204]; jumptable 00469C9A case 1             ; +0x94, 0x469d24\nLDR             R1, =(aAccountHasBeen - 0x469D32); \"Account has been disabled\" ; +0x98, 0x469d28\nLDR             R5, =(unk_9ABEFC - 0x469D34)                           ; +0x9a, 0x469d2a\nLDR             R3, [R0]                                               ; +0x9c, 0x469d2c\nADD             R1, PC; \"Account has been disabled\"                    ; +0x9e, 0x469d2e\nADD             R5, PC; unk_9ABEFC                                     ; +0xa0, 0x469d30\nLDR.W           R3, [R3,#0x1C8]                                        ; +0xa2, 0x469d32\nBLX             R3                                                     ; +0xa6, 0x469d36\nLDR.W           R0, [R4,#0x204]                                        ; +0xa8, 0x469d38\nMOV             R1, R5                                                 ; +0xac, 0x469d3c\nLDR             R3, [R0]                                               ; +0xae, 0x469d3e\nLDR.W           R3, [R3,#0x210]                                        ; +0xb0, 0x469d40\nBLX             R3                                                     ; +0xb4, 0x469d44\nLDR.W           R0, [R4,#0x208]                                        ; +0xb6, 0x469d46\nLDR             R1, =(aContactRobtopS - 0x469D52); \"Contact RobTop Support for more info\" ; +0xba, 0x469d4a\nLDR             R3, [R0]                                               ; +0xbc, 0x469d4c\nADD             R1, PC; \"Contact RobTop Support for more info\"         ; +0xbe, 0x469d4e\nLDR.W           R3, [R3,#0x1C8]                                        ; +0xc0, 0x469d50\nBLX             R3                                                     ; +0xc4, 0x469d54\nLDR.W           R0, [R4,#0x208]                                        ; +0xc6, 0x469d56\nMOV             R1, R5                                                 ; +0xca, 0x469d5a\nLDR             R3, [R0]                                               ; +0xcc, 0x469d5c\nLDR.W           R3, [R3,#0x210]                                        ; +0xce, 0x469d5e\nB               loc_469D82                                             ; +0xd2, 0x469d62\nLDR.W           R0, [R0,#0x204]; jumptable 00469C9A default case, case 2 ; +0xd4, 0x469d64\nLDR             R1, =(aLoginFailed - 0x469D70); \"Login failed\"         ; +0xd8, 0x469d68\nLDR             R3, [R0]                                               ; +0xda, 0x469d6a\nADD             R1, PC; \"Login failed\"                                 ; +0xdc, 0x469d6c\nLDR.W           R3, [R3,#0x1C8]                                        ; +0xde, 0x469d6e\nBLX             R3                                                     ; +0xe2, 0x469d72\nLDR.W           R0, [R4,#0x204]                                        ; +0xe4, 0x469d74\nLDR             R1, =(unk_9ABEFC - 0x469D80)                           ; +0xe8, 0x469d78\nLDR             R3, [R0]                                               ; +0xea, 0x469d7a\nADD             R1, PC; unk_9ABEFC                                     ; +0xec, 0x469d7c\nLDR.W           R3, [R3,#0x210]                                        ; +0xee, 0x469d7e\nPOP.W           {R4-R6,LR}                                             ; +0xf2, 0x469d82\nBX              R3                                                     ; +0xf6, 0x469d86", "xrefs": ["AccountLoginLayer::textInputClosed @ 0x469e94", "AccountLoginLayer::onSubmit @ 0x46a02c", "AccountLoginLayer::loginAccountFailed @ 0x46a100"], "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"}