{"type": "func", "start": 10028156, "end": 10028292, "name": "AccountLoginLayer::resetLabel", "pseudocode": "// \n// AccountLoginLayer::resetLabel from 0x99047c to 0x990504 (136 bytes)\n// \n// 4 xrefs:\n// > AccountLoginLayer::resetLabels @ 0x990518\n// > AccountLoginLayer::resetLabels @ 0x99052c\n// > AccountLoginLayer::textInputClosed @ 0x99057c\n// > <???> @ 0x8b210\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:57:58 +0000\n// \n\n__int64 __fastcall AccountLoginLayer::resetLabel(__int64 this, int a2)\n{\n  __int64 v2; // x19\n  __int64 v3; // x2\n\n  v2 = this;\n  if ( a2 == 1 )\n  {\n    (*(void (__fastcall **)(_QWORD, const char *))(**(_QWORD **)(this + 696) + 928LL))(\n      *(_QWORD *)(this + 696),\n      \"Username:\");\n    v3 = *(_QWORD *)(v2 + 696);\n  }\n  else\n  {\n    if ( a2 != 2 )\n      return this;\n    (*(void (__fastcall **)(_QWORD, char *))(**(_QWORD **)(this + 704) + 928LL))(*(_QWORD *)(this + 704), \"Password:\");\n    v3 = *(_QWORD *)(v2 + 704);\n  }\n  return (*(__int64 (__fastcall **)(__int64, void *))(*(_QWORD *)v3 + 1072LL))(v3, &unk_116B4B8);\n}", "assembly": "; \n; AccountLoginLayer::resetLabel from 0x99047c to 0x990504 (136 bytes)\n; \n; 4 xrefs:\n; > AccountLoginLayer::resetLabels @ 0x990518\n; > AccountLoginLayer::resetLabels @ 0x99052c\n; > AccountLoginLayer::textInputClosed @ 0x99057c\n; > <???> @ 0x8b210\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:57:58 +0000\n; \nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0x99047c\nCMP             W1, #1                                                 ; +0x4, 0x990480\nMOV             X29, SP                                                ; +0x8, 0x990484\nSTR             X19, [SP,#0x20+var_10]                                 ; +0xc, 0x990488\nMOV             X19, X0                                                ; +0x10, 0x99048c\nB.EQ            loc_9904E0                                             ; +0x14, 0x990490\nCMP             W1, #2                                                 ; +0x18, 0x990494\nB.NE            loc_9904D4                                             ; +0x1c, 0x990498\nLDR             X2, [X0,#0x2C0]                                        ; +0x20, 0x99049c\nADRL            X1, (aConfirmPasswor+8); \"Password:\"                   ; +0x24, 0x9904a0\nMOV             X0, X2                                                 ; +0x2c, 0x9904a8\nLDR             X2, [X2]                                               ; +0x30, 0x9904ac\nLDR             X2, [X2,#0x3A0]                                        ; +0x34, 0x9904b0\nBLR             X2                                                     ; +0x38, 0x9904b4\nLDR             X2, [X19,#0x2C0]                                       ; +0x3c, 0x9904b8\nMOV             X0, X2                                                 ; +0x40, 0x9904bc\nLDR             X2, [X2]                                               ; +0x44, 0x9904c0\nADRL            X1, unk_116B4B8                                        ; +0x48, 0x9904c4\nLDR             X2, [X2,#0x430]                                        ; +0x50, 0x9904cc\nBLR             X2                                                     ; +0x54, 0x9904d0\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x58, 0x9904d4\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x5c, 0x9904d8\nRET                                                                    ; +0x60, 0x9904dc\nLDR             X2, [X0,#0x2B8]                                        ; +0x64, 0x9904e0\nADRL            X1, aUsername; \"Username:\"                             ; +0x68, 0x9904e4\nMOV             X0, X2                                                 ; +0x70, 0x9904ec\nLDR             X2, [X2]                                               ; +0x74, 0x9904f0\nLDR             X2, [X2,#0x3A0]                                        ; +0x78, 0x9904f4\nBLR             X2                                                     ; +0x7c, 0x9904f8\nLDR             X2, [X19,#0x2B8]                                       ; +0x80, 0x9904fc\nB               loc_9904BC                                             ; +0x84, 0x990500", "xrefs": ["AccountLoginLayer::resetLabels @ 0x990518", "AccountLoginLayer::resetLabels @ 0x99052c", "AccountLoginLayer::textInputClosed @ 0x99057c", "<???> @ 0x8b210"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}