{"type": "func", "start": 5793236, "end": 5793320, "name": "AccountLoginLayer::resetLabel", "pseudocode": "// \n// AccountLoginLayer::resetLabel from 0x5865d4 to 0x586628 (84 bytes)\n// \n// 3 xrefs:\n// > AccountLoginLayer::resetLabels @ 0x58663e\n// > AccountLoginLayer::resetLabels @ 0x58664a\n// > AccountLoginLayer::textInputClosed @ 0x58685a\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:52:58 +0000\n// \n\nint __fastcall AccountLoginLayer::resetLabel(int this, int a2)\n{\n  int v2; // r4\n  int (*v3)(void); // r3\n\n  v2 = this;\n  if ( a2 == 1 )\n  {\n    (*(void (__fastcall **)(_DWORD, const char *))(**(_DWORD **)(this + 536) + 464))(\n      *(_DWORD *)(this + 536),\n      \"Username:\");\n    v3 = *(int (**)(void))(**(_DWORD **)(v2 + 536) + 536);\n    return v3();\n  }\n  if ( a2 == 2 )\n  {\n    (*(void (__fastcall **)(_DWORD, const char *))(**(_DWORD **)(this + 540) + 464))(\n      *(_DWORD *)(this + 540),\n      \"Password:\");\n    v3 = *(int (**)(void))(**(_DWORD **)(v2 + 540) + 536);\n    return v3();\n  }\n  return this;\n}", "assembly": "; \n; AccountLoginLayer::resetLabel from 0x5865d4 to 0x586628 (84 bytes)\n; \n; 3 xrefs:\n; > AccountLoginLayer::resetLabels @ 0x58663e\n; > AccountLoginLayer::resetLabels @ 0x58664a\n; > AccountLoginLayer::textInputClosed @ 0x58685a\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:52:58 +0000\n; \nCMP             R1, #1                                                 ; +0x0, 0x5865d4\nPUSH            {R4,LR}                                                ; +0x2, 0x5865d6\nMOV             R4, R0                                                 ; +0x4, 0x5865d8\nBEQ             loc_5865E2                                             ; +0x6, 0x5865da\nCMP             R1, #2                                                 ; +0x8, 0x5865dc\nBEQ             loc_586602                                             ; +0xa, 0x5865de\nPOP             {R4,PC}                                                ; +0xc, 0x5865e0\nLDR.W           R0, [R0,#0x218]                                        ; +0xe, 0x5865e2\nLDR             R1, =(aUsername - 0x5865EE); \"Username:\"               ; +0x12, 0x5865e6\nLDR             R3, [R0]                                               ; +0x14, 0x5865e8\nADD             R1, PC; \"Username:\"                                    ; +0x16, 0x5865ea\nLDR.W           R3, [R3,#0x1D0]                                        ; +0x18, 0x5865ec\nBLX             R3                                                     ; +0x1c, 0x5865f0\nLDR.W           R0, [R4,#0x218]                                        ; +0x1e, 0x5865f2\nLDR             R1, =(unk_BED8F0 - 0x5865FE)                           ; +0x22, 0x5865f6\nLDR             R3, [R0]                                               ; +0x24, 0x5865f8\nADD             R1, PC; unk_BED8F0                                     ; +0x26, 0x5865fa\nLDR.W           R3, [R3,#0x218]                                        ; +0x28, 0x5865fc\nB               loc_586620                                             ; +0x2c, 0x586600\nLDR.W           R0, [R0,#0x21C]                                        ; +0x2e, 0x586602\nLDR             R1, =(aPassword - 0x58660E); \"Password:\"               ; +0x32, 0x586606\nLDR             R3, [R0]                                               ; +0x34, 0x586608\nADD             R1, PC; \"Password:\"                                    ; +0x36, 0x58660a\nLDR.W           R3, [R3,#0x1D0]                                        ; +0x38, 0x58660c\nBLX             R3                                                     ; +0x3c, 0x586610\nLDR.W           R0, [R4,#0x21C]                                        ; +0x3e, 0x586612\nLDR             R1, =(unk_BED8F0 - 0x58661E)                           ; +0x42, 0x586616\nLDR             R3, [R0]                                               ; +0x44, 0x586618\nADD             R1, PC; unk_BED8F0                                     ; +0x46, 0x58661a\nLDR.W           R3, [R3,#0x218]                                        ; +0x48, 0x58661c\nADDS            R1, #(word_BED8F3 - 0xBED8F0)                          ; +0x4c, 0x586620\nPOP.W           {R4,LR}                                                ; +0x4e, 0x586622\nBX              R3                                                     ; +0x52, 0x586626", "xrefs": ["AccountLoginLayer::resetLabels @ 0x58663e", "AccountLoginLayer::resetLabels @ 0x58664a", "AccountLoginLayer::textInputClosed @ 0x58685a"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}