{"type": "func", "start": 4628024, "end": 4628152, "name": "AccountLoginLayer::textInputClosed", "pseudocode": "// \n// AccountLoginLayer::textInputClosed from 0x469e38 to 0x469eb8 (128 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'AccountLoginLayer::textInputClosed @ 0x469ec0\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::textInputClosed(AccountLoginLayer *a1, CCTextInputNode *a2)\n{\n  int v4; // r0\n  int v5; // r0\n  AccountLoginLayer *v6; // r0\n  AccountError v7; // r1\n  _DWORD v8[3]; // [sp+0h] [bp-Ch] BYREF\n\n  v8[0] = a1;\n  v8[1] = a2;\n  CCTextInputNode::getString((CCTextInputNode *)v8, (int)a2);\n  v4 = a2->getTag(a2);\n  AccountLoginLayer::resetLabel(a1, v4);\n  v5 = a2->getTag(a2);\n  if ( v5 == 1 )\n  {\n    if ( *(_DWORD *)(v8[0] - 12) <= 2u )\n    {\n      v6 = a1;\n      v7 = TooShortLessThan3;\nLABEL_8:\n      AccountLoginLayer::updateLabel(v6, v7);\n    }\n  }\n  else if ( v5 == 2 && *(_DWORD *)(v8[0] - 12) <= 5u )\n  {\n    v6 = a1;\n    v7 = TooShortLessThan6;\n    goto LABEL_8;\n  }\n  sub_774008(v8);\n}", "assembly": "; \n; AccountLoginLayer::textInputClosed from 0x469e38 to 0x469eb8 (128 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'AccountLoginLayer::textInputClosed @ 0x469ec0\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\nPUSH            {R0-R2,R4-R7,LR}                                       ; +0x0, 0x469e38\nMOV             R4, R1                                                 ; +0x2, 0x469e3a\nLDR             R5, =(__stack_chk_guard_ptr - 0x469E48)                ; +0x4, 0x469e3c\nMOV             R7, R0                                                 ; +0x6, 0x469e3e\nMOV             R0, SP; this                                           ; +0x8, 0x469e40\nMOV             R6, SP                                                 ; +0xa, 0x469e42\nADD             R5, PC; __stack_chk_guard_ptr                          ; +0xc, 0x469e44\nLDR             R5, [R5]; __stack_chk_guard                            ; +0xe, 0x469e46\nLDR             R3, [R5]                                               ; +0x10, 0x469e48\nSTR             R3, [SP,#0xC+var_8]                                    ; +0x12, 0x469e4a\nBL              _ZN15CCTextInputNode9getStringEv; CCTextInputNode::getString(void) ; +0x14, 0x469e4c\nLDR             R3, [R4]                                               ; +0x18, 0x469e50\nMOV             R0, R4                                                 ; +0x1a, 0x469e52\nLDR             R3, [R3,#0x20]                                         ; +0x1c, 0x469e54\nBLX             R3                                                     ; +0x1e, 0x469e56\nMOV             R1, R0; int                                            ; +0x20, 0x469e58\nMOV             R0, R7; this                                           ; +0x22, 0x469e5a\nBL              _ZN17AccountLoginLayer10resetLabelEi; AccountLoginLayer::resetLabel(int) ; +0x24, 0x469e5c\nLDR             R3, [R4]                                               ; +0x28, 0x469e60\nMOV             R0, R4                                                 ; +0x2a, 0x469e62\nLDR             R3, [R3,#0x20]                                         ; +0x2c, 0x469e64\nBLX             R3                                                     ; +0x2e, 0x469e66\nCMP             R0, #1                                                 ; +0x30, 0x469e68\nBEQ             loc_469E72                                             ; +0x32, 0x469e6a\nCMP             R0, #2                                                 ; +0x34, 0x469e6c\nBEQ             loc_469E84                                             ; +0x36, 0x469e6e\nB               loc_469E98                                             ; +0x38, 0x469e70\nLDR             R3, [SP,#0xC+var_C]                                    ; +0x3a, 0x469e72\nLDR.W           R3, [R3,#-0xC]                                         ; +0x3c, 0x469e74\nCMP             R3, #2                                                 ; +0x40, 0x469e78\nBHI             loc_469E98                                             ; +0x42, 0x469e7a\nMOV             R0, R7                                                 ; +0x44, 0x469e7c\nMOV             R1, #0xFFFFFFF7                                        ; +0x46, 0x469e7e\nB               loc_469E94                                             ; +0x4a, 0x469e82\nLDR             R3, [SP,#0xC+var_C]                                    ; +0x4c, 0x469e84\nLDR.W           R3, [R3,#-0xC]                                         ; +0x4e, 0x469e86\nCMP             R3, #5                                                 ; +0x52, 0x469e8a\nBHI             loc_469E98                                             ; +0x54, 0x469e8c\nMOV             R0, R7                                                 ; +0x56, 0x469e8e\nMOV             R1, #0xFFFFFFF8                                        ; +0x58, 0x469e90\nBL              _ZN17AccountLoginLayer11updateLabelE12AccountError; AccountLoginLayer::updateLabel(AccountError) ; +0x5c, 0x469e94\nMOV             R0, R6                                                 ; +0x60, 0x469e98\nBL              sub_774008                                             ; +0x62, 0x469e9a\nLDR             R2, [SP,#0xC+var_8]                                    ; +0x66, 0x469e9e\nLDR             R3, [R5]                                               ; +0x68, 0x469ea0\nCMP             R2, R3                                                 ; +0x6a, 0x469ea2\nBEQ             loc_469EB4                                             ; +0x6c, 0x469ea4\nBLX             __stack_chk_fail                                       ; +0x6e, 0x469ea6\nMOV             R0, R6                                                 ; +0x72, 0x469eaa\nBL              sub_774008                                             ; +0x74, 0x469eac\nBL              __cxa_end_cleanup                                      ; +0x78, 0x469eb0\nADD             SP, SP, #0xC                                           ; +0x7c, 0x469eb4\nPOP             {R4-R7,PC}                                             ; +0x7e, 0x469eb6", "xrefs": ["`non-virtual thunk to'AccountLoginLayer::textInputClosed @ 0x469ec0"], "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"}