{"type": "func", "start": 4627900, "end": 4627984, "name": "AccountLoginLayer::resetLabel", "pseudocode": "// \n// AccountLoginLayer::resetLabel from 0x469dbc to 0x469e10 (84 bytes)\n// \n// 3 xrefs:\n// > AccountLoginLayer::resetLabels @ 0x469e26\n// > AccountLoginLayer::resetLabels @ 0x469e32\n// > AccountLoginLayer::textInputClosed @ 0x469e5c\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::resetLabel(AccountLoginLayer *a1, int a2)\n{\n  void (*setColor)(void); // r3\n\n  if ( a2 == 1 )\n  {\n    a1->m_usernameLabel->setString(a1->m_usernameLabel, \"Username:\");\n    setColor = (void (*)(void))a1->m_usernameLabel->setColor;\nLABEL_6:\n    setColor();\n    return;\n  }\n  if ( a2 == 2 )\n  {\n    a1->m_passwordLabel->setString(a1->m_passwordLabel, \"Password:\");\n    setColor = (void (*)(void))a1->m_passwordLabel->setColor;\n    goto LABEL_6;\n  }\n}", "assembly": "; \n; AccountLoginLayer::resetLabel from 0x469dbc to 0x469e10 (84 bytes)\n; \n; 3 xrefs:\n; > AccountLoginLayer::resetLabels @ 0x469e26\n; > AccountLoginLayer::resetLabels @ 0x469e32\n; > AccountLoginLayer::textInputClosed @ 0x469e5c\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\nCMP             R1, #1                                                 ; +0x0, 0x469dbc\nPUSH            {R4,LR}                                                ; +0x2, 0x469dbe\nMOV             R4, R0                                                 ; +0x4, 0x469dc0\nBEQ             loc_469DCA                                             ; +0x6, 0x469dc2\nCMP             R1, #2                                                 ; +0x8, 0x469dc4\nBEQ             loc_469DEA                                             ; +0xa, 0x469dc6\nPOP             {R4,PC}                                                ; +0xc, 0x469dc8\nLDR.W           R0, [R0,#0x204]                                        ; +0xe, 0x469dca\nLDR             R1, =(aUsername_0 - 0x469DD6); \"Username:\"             ; +0x12, 0x469dce\nLDR             R3, [R0]                                               ; +0x14, 0x469dd0\nADD             R1, PC; \"Username:\"                                    ; +0x16, 0x469dd2\nLDR.W           R3, [R3,#0x1C8]                                        ; +0x18, 0x469dd4\nBLX             R3                                                     ; +0x1c, 0x469dd8\nLDR.W           R0, [R4,#0x204]                                        ; +0x1e, 0x469dda\nLDR             R1, =(unk_9ABEFC - 0x469DE6)                           ; +0x22, 0x469dde\nLDR             R3, [R0]                                               ; +0x24, 0x469de0\nADD             R1, PC; unk_9ABEFC                                     ; +0x26, 0x469de2\nLDR.W           R3, [R3,#0x210]                                        ; +0x28, 0x469de4\nB               loc_469E08                                             ; +0x2c, 0x469de8\nLDR.W           R0, [R0,#0x208]                                        ; +0x2e, 0x469dea\nLDR             R1, =(aPassword - 0x469DF6); \"Password:\"               ; +0x32, 0x469dee\nLDR             R3, [R0]                                               ; +0x34, 0x469df0\nADD             R1, PC; \"Password:\"                                    ; +0x36, 0x469df2\nLDR.W           R3, [R3,#0x1C8]                                        ; +0x38, 0x469df4\nBLX             R3                                                     ; +0x3c, 0x469df8\nLDR.W           R0, [R4,#0x208]                                        ; +0x3e, 0x469dfa\nLDR             R1, =(unk_9ABEFC - 0x469E06)                           ; +0x42, 0x469dfe\nLDR             R3, [R0]                                               ; +0x44, 0x469e00\nADD             R1, PC; unk_9ABEFC                                     ; +0x46, 0x469e02\nLDR.W           R3, [R3,#0x210]                                        ; +0x48, 0x469e04\nADDS            R1, #(unk_9ABEFF - 0x9ABEFC)                           ; +0x4c, 0x469e08\nPOP.W           {R4,LR}                                                ; +0x4e, 0x469e0a\nBX              R3                                                     ; +0x52, 0x469e0e", "xrefs": ["AccountLoginLayer::resetLabels @ 0x469e26", "AccountLoginLayer::resetLabels @ 0x469e32", "AccountLoginLayer::textInputClosed @ 0x469e5c"], "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"}