{"type": "func", "start": 8722820, "end": 8722960, "name": "AccountLoginLayer::resetLabel", "pseudocode": "// \n// AccountLoginLayer::resetLabel from 0x851984 to 0x851a10 (140 bytes)\n// \n// 4 xrefs:\n// > AccountLoginLayer::resetLabels @ 0x851a24\n// > AccountLoginLayer::resetLabels @ 0x851a38\n// > AccountLoginLayer::textInputClosed @ 0x851a88\n// > <???> @ 0x66780\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  cocos2d::CCLabelBMFont *m_usernameLabel; // x1\n\n  if ( a2 == 1 )\n  {\n    a1->m_usernameLabel->setString(a1->m_usernameLabel, \"Username:\");\n    m_usernameLabel = a1->m_usernameLabel;\n  }\n  else\n  {\n    if ( a2 != 2 )\n      return;\n    a1->m_passwordLabel->setString(a1->m_passwordLabel, (const unsigned __int8 *)\"Password:\");\n    m_usernameLabel = a1->m_passwordLabel;\n  }\n  m_usernameLabel->setColor(m_usernameLabel, (const cocos2d::ccColor3B *)&off_EEC898);\n}", "assembly": "; \n; AccountLoginLayer::resetLabel from 0x851984 to 0x851a10 (140 bytes)\n; \n; 4 xrefs:\n; > AccountLoginLayer::resetLabels @ 0x851a24\n; > AccountLoginLayer::resetLabels @ 0x851a38\n; > AccountLoginLayer::textInputClosed @ 0x851a88\n; > <???> @ 0x66780\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,#var_20]!                                ; +0x0, 0x851984\nCMP             W1, #1                                                 ; +0x4, 0x851988\nMOV             X29, SP                                                ; +0x8, 0x85198c\nSTR             X19, [SP,#0x20+var_10]                                 ; +0xc, 0x851990\nMOV             X19, X0                                                ; +0x10, 0x851994\nB.EQ            loc_8519EC                                             ; +0x14, 0x851998\nCMP             W1, #2                                                 ; +0x18, 0x85199c\nB.NE            loc_8519E0                                             ; +0x1c, 0x8519a0\nLDR             X2, [X0,#0x2A8]                                        ; +0x20, 0x8519a4\nADRL            X1, (aConfirmPasswor+8); \"Password:\"                   ; +0x24, 0x8519a8\nMOV             X0, X2                                                 ; +0x2c, 0x8519b0\nLDR             X2, [X2]                                               ; +0x30, 0x8519b4\nLDR             X2, [X2,#0x390]                                        ; +0x34, 0x8519b8\nBLR             X2                                                     ; +0x38, 0x8519bc\nLDR             X1, [X19,#0x2A8]                                       ; +0x3c, 0x8519c0\nLDR             X2, [X1]                                               ; +0x40, 0x8519c4\nMOV             X0, X1                                                 ; +0x44, 0x8519c8\nADRL            X1, unk_EEC890                                         ; +0x48, 0x8519cc\nLDR             X2, [X2,#0x420]                                        ; +0x50, 0x8519d4\nADD             X1, X1, #(off_EEC898 - 0xEEC890)                       ; +0x54, 0x8519d8\nBLR             X2                                                     ; +0x58, 0x8519dc\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x5c, 0x8519e0\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x60, 0x8519e4\nRET                                                                    ; +0x64, 0x8519e8\nLDR             X2, [X0,#0x2A0]                                        ; +0x68, 0x8519ec\nADRL            X1, aUsername; \"Username:\"                             ; +0x6c, 0x8519f0\nMOV             X0, X2                                                 ; +0x74, 0x8519f8\nLDR             X2, [X2]                                               ; +0x78, 0x8519fc\nLDR             X2, [X2,#0x390]                                        ; +0x7c, 0x851a00\nBLR             X2                                                     ; +0x80, 0x851a04\nLDR             X1, [X19,#0x2A0]                                       ; +0x84, 0x851a08\nB               loc_8519C4                                             ; +0x88, 0x851a0c", "xrefs": ["AccountLoginLayer::resetLabels @ 0x851a24", "AccountLoginLayer::resetLabels @ 0x851a38", "AccountLoginLayer::textInputClosed @ 0x851a88", "<???> @ 0x66780"], "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"}