; ; AccountRegisterLayer::textInputClosed from 0x588778 to 0x588a18 (672 bytes) ; ; 1 xrefs: ; > `non-virtual thunk to'AccountRegisterLayer::textInputClosed @ 0x588a34 ; ; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:53:00 +0000 ; PUSH.W {R4-R10,LR} ; +0x0, 0x588778 SUB SP, SP, #0x68 ; +0x4, 0x58877c LDR R7, =(__stack_chk_guard_ptr - 0x58878A) ; +0x6, 0x58877e ADD R5, SP, #0x68+var_64 ; +0x8, 0x588780 MOV R6, R1 ; +0xa, 0x588782 MOV R4, R0 ; +0xc, 0x588784 ADD R7, PC; __stack_chk_guard_ptr ; +0xe, 0x588786 LDR R7, [R7]; __stack_chk_guard ; +0x10, 0x588788 MOV R0, R5; this ; +0x12, 0x58878a LDR R3, [R7] ; +0x14, 0x58878c STR R3, [SP,#0x68+var_4] ; +0x16, 0x58878e BL _ZN15CCTextInputNode9getStringEv; CCTextInputNode::getString(void) ; +0x18, 0x588790 LDR R3, [R6] ; +0x1c, 0x588794 MOV R0, R6 ; +0x1e, 0x588796 LDR R3, [R3,#0x20] ; +0x20, 0x588798 BLX R3 ; +0x22, 0x58879a MOV R1, R0; int ; +0x24, 0x58879c MOV R0, R4; this ; +0x26, 0x58879e BL _ZN20AccountRegisterLayer10resetLabelEi; AccountRegisterLayer::resetLabel(int) ; +0x28, 0x5887a0 LDR R3, [R6] ; +0x2c, 0x5887a4 MOV R0, R6 ; +0x2e, 0x5887a6 LDR R3, [R3,#0x20] ; +0x30, 0x5887a8 BLX R3 ; +0x32, 0x5887aa SUBS R0, #1; switch 4 cases ; +0x34, 0x5887ac CMP R0, #3 ; +0x36, 0x5887ae BHI.W def_5887B4; jumptable 005887B4 default case ; +0x38, 0x5887b0 TBH.W [PC,R0,LSL#1]; switch jump ; +0x3c, 0x5887b4 DCW 4; jump table for switch statement ; +0x40, 0x5887b8 DCW 0x25 ; +0x42, 0x5887ba DCW 0x94 ; +0x44, 0x5887bc DCW 0xE9 ; +0x46, 0x5887be ADD.W R8, SP, #0x68+var_58; jumptable 005887B4 case 1 ; +0x48, 0x5887c0 MOV R1, R5 ; +0x4c, 0x5887c4 MOV R0, R8 ; +0x4e, 0x5887c6 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_; std::string::basic_string(std::string const&) ; +0x50, 0x5887c8 MOV R0, R4 ; +0x54, 0x5887cc MOV R1, R8 ; +0x56, 0x5887ce BL _ZN20AccountRegisterLayer9validUserENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; AccountRegisterLayer::validUser(std::string) ; +0x58, 0x5887d0 CBNZ R0, loc_5887EC ; +0x5c, 0x5887d4 LDRB.W R6, [SP,#0x68+var_64] ; +0x5e, 0x5887d6 LSLS R1, R6, #0x1F ; +0x62, 0x5887da ITE PL ; +0x64, 0x5887dc ASRPL R6, R6, #1 ; +0x66, 0x5887de LDRMI R6, [SP,#0x68+var_60] ; +0x68, 0x5887e0 ADDS R6, #0 ; +0x6a, 0x5887e2 IT NE ; +0x6c, 0x5887e4 MOVNE R6, #1 ; +0x6e, 0x5887e6 B loc_5887EE ; +0x70, 0x5887e8 B loc_5889B4 ; +0x72, 0x5887ea MOVS R6, #0 ; +0x74, 0x5887ec MOV R0, R8 ; +0x76, 0x5887ee BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x78, 0x5887f0 CMP R6, #0 ; +0x7c, 0x5887f4 BEQ.W def_5887B4; jumptable 005887B4 default case ; +0x7e, 0x5887f6 MOV R0, R4 ; +0x82, 0x5887fa MOV R1, #0xFFFFFFF7 ; +0x84, 0x5887fc B loc_5889C8 ; +0x88, 0x588800 MOV R0, R4; jumptable 005887B4 case 2 ; +0x8a, 0x588802 MOVS R1, #3; int ; +0x8c, 0x588804 BL _ZN20AccountRegisterLayer10resetLabelEi; AccountRegisterLayer::resetLabel(int) ; +0x8e, 0x588806 LDRB.W R3, [SP,#0x68+var_64] ; +0x92, 0x58880a LSLS R2, R3, #0x1F ; +0x96, 0x58880e ITE PL ; +0x98, 0x588810 ASRPL R3, R3, #1 ; +0x9a, 0x588812 LDRMI R3, [SP,#0x68+var_60] ; +0x9c, 0x588814 CBNZ R3, loc_58882A ; +0x9e, 0x588816 LDR.W R0, [R4,#0x22C] ; +0xa0, 0x588818 LDR R1, =(unk_B6B226 - 0x588824) ; +0xa4, 0x58881c LDR R3, [R0] ; +0xa6, 0x58881e ADD R1, PC; unk_B6B226 ; +0xa8, 0x588820 LDR.W R3, [R3,#0x1D0] ; +0xaa, 0x588822 BLX R3 ; +0xae, 0x588826 B loc_588842 ; +0xb0, 0x588828 ADD R6, SP, #0x68+var_4C ; +0xb2, 0x58882a MOV R1, R5 ; +0xb4, 0x58882c MOV R0, R6 ; +0xb6, 0x58882e BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_; std::string::basic_string(std::string const&) ; +0xb8, 0x588830 MOV R0, R4 ; +0xbc, 0x588834 MOV R1, R6 ; +0xbe, 0x588836 BL _ZN20AccountRegisterLayer18updatePasswordInfoENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; AccountRegisterLayer::updatePasswordInfo(std::string) ; +0xc0, 0x588838 MOV R0, R6 ; +0xc4, 0x58883c BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xc6, 0x58883e ADD R6, SP, #0x68+var_10 ; +0xca, 0x588842 LDR.W R1, [R4,#0x218] ; +0xcc, 0x588844 MOV R0, R6; this ; +0xd0, 0x588848 BL _ZN15CCTextInputNode9getStringEv; CCTextInputNode::getString(void) ; +0xd2, 0x58884a ADD.W R8, SP, #0x68+var_40 ; +0xd6, 0x58884e LDR R1, =(aConfirmPasswor - 0x58885E); "Confirm Password:" ; +0xda, 0x588852 MOVS R2, #0x11 ; +0xdc, 0x588854 MOVS R3, #0 ; +0xde, 0x588856 MOV R0, R8 ; +0xe0, 0x588858 ADD R1, PC; "Confirm Password:" ; +0xe2, 0x58885a STR R3, [SP,#0x68+var_40] ; +0xe4, 0x58885c STR R3, [SP,#0x68+var_3C] ; +0xe6, 0x58885e STR R3, [SP,#0x68+var_38] ; +0xe8, 0x588860 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0xea, 0x588862 MOV R0, R6 ; +0xee, 0x588866 MOV R1, R8 ; +0xf0, 0x588868 BL sub_5858BE ; +0xf2, 0x58886a CBNZ R0, loc_58889A ; +0xf6, 0x58886e ADD.W R9, SP, #0x68+var_34 ; +0xf8, 0x588870 LDR R1, =(aPassword - 0x588880); "Password:" ; +0xfc, 0x588874 STR R0, [SP,#0x68+var_34] ; +0xfe, 0x588876 MOVS R2, #9 ; +0x100, 0x588878 STR R0, [SP,#0x68+var_30] ; +0x102, 0x58887a ADD R1, PC; "Password:" ; +0x104, 0x58887c STR R0, [SP,#0x68+var_2C] ; +0x106, 0x58887e MOV R0, R9 ; +0x108, 0x588880 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x10a, 0x588882 MOV R0, R5 ; +0x10e, 0x588886 MOV R1, R9 ; +0x110, 0x588888 BL sub_5858BE ; +0x112, 0x58888a MOV R10, R0 ; +0x116, 0x58888e MOV R0, R9 ; +0x118, 0x588890 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x11a, 0x588892 B loc_58889E ; +0x11e, 0x588896 B loc_588936 ; +0x120, 0x588898 MOV.W R10, #1 ; +0x122, 0x58889a MOV R0, R8 ; +0x126, 0x58889e BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x128, 0x5888a0 MOV R0, R5 ; +0x12c, 0x5888a4 MOV R1, R6 ; +0x12e, 0x5888a6 BL sub_5858BE ; +0x130, 0x5888a8 CMP R0, #0 ; +0x134, 0x5888ac BNE loc_588952 ; +0x136, 0x5888ae LDRB.W R3, [SP,#0x68+var_64] ; +0x138, 0x5888b0 LSLS R3, R3, #0x1F ; +0x13c, 0x5888b4 ITE PL ; +0x13e, 0x5888b6 ADDPL.W R3, SP, #0x68+var_63 ; +0x140, 0x5888b8 LDRMI R3, [SP,#0x68+var_5C] ; +0x144, 0x5888bc LDRB R3, [R3] ; +0x146, 0x5888be CMP R3, #0 ; +0x148, 0x5888c0 BEQ loc_588952 ; +0x14a, 0x5888c2 LDRB.W R3, [SP,#0x68+var_10] ; +0x14c, 0x5888c4 LSLS R0, R3, #0x1F ; +0x150, 0x5888c8 ITE PL ; +0x152, 0x5888ca ADDPL.W R3, SP, #0x68+var_F ; +0x154, 0x5888cc LDRMI R3, [SP,#0x68+var_8] ; +0x158, 0x5888d0 LDRB R3, [R3] ; +0x15a, 0x5888d2 CMP R3, #0 ; +0x15c, 0x5888d4 BEQ loc_588952 ; +0x15e, 0x5888d6 CMP.W R10, #0 ; +0x160, 0x5888d8 BNE loc_588952 ; +0x164, 0x5888dc B loc_5889FA ; +0x166, 0x5888de ADD R6, SP, #0x68+var_10; jumptable 005887B4 case 3 ; +0x168, 0x5888e0 LDR.W R1, [R4,#0x214] ; +0x16a, 0x5888e2 MOV R0, R6; this ; +0x16e, 0x5888e6 BL _ZN15CCTextInputNode9getStringEv; CCTextInputNode::getString(void) ; +0x170, 0x5888e8 ADD.W R8, SP, #0x68+var_28 ; +0x174, 0x5888ec LDR R1, =(aPassword - 0x5888FC); "Password:" ; +0x178, 0x5888f0 MOVS R2, #9 ; +0x17a, 0x5888f2 MOVS R3, #0 ; +0x17c, 0x5888f4 MOV R0, R8 ; +0x17e, 0x5888f6 ADD R1, PC; "Password:" ; +0x180, 0x5888f8 STR R3, [SP,#0x68+var_28] ; +0x182, 0x5888fa STR R3, [SP,#0x68+var_24] ; +0x184, 0x5888fc STR R3, [SP,#0x68+var_20] ; +0x186, 0x5888fe BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x188, 0x588900 MOV R0, R5 ; +0x18c, 0x588904 MOV R1, R8 ; +0x18e, 0x588906 BL sub_5858BE ; +0x190, 0x588908 CBNZ R0, loc_58893E ; +0x194, 0x58890c ADD.W R9, SP, #0x68+var_1C ; +0x196, 0x58890e LDR R1, =(aConfirmPasswor - 0x58891E); "Confirm Password:" ; +0x19a, 0x588912 STR R0, [SP,#0x68+var_1C] ; +0x19c, 0x588914 MOVS R2, #0x11 ; +0x19e, 0x588916 STR R0, [SP,#0x68+var_18] ; +0x1a0, 0x588918 ADD R1, PC; "Confirm Password:" ; +0x1a2, 0x58891a STR R0, [SP,#0x68+var_14] ; +0x1a4, 0x58891c MOV R0, R9 ; +0x1a6, 0x58891e BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x1a8, 0x588920 MOV R0, R6 ; +0x1ac, 0x588924 MOV R1, R9 ; +0x1ae, 0x588926 BL sub_5858BE ; +0x1b0, 0x588928 MOV R10, R0 ; +0x1b4, 0x58892c MOV R0, R9 ; +0x1b6, 0x58892e BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x1b8, 0x588930 B loc_588942 ; +0x1bc, 0x588934 MOV R0, R8 ; +0x1be, 0x588936 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x1c0, 0x588938 B loc_5889E6 ; +0x1c4, 0x58893c MOV.W R10, #1 ; +0x1c6, 0x58893e MOV R0, R8 ; +0x1ca, 0x588942 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x1cc, 0x588944 MOV R0, R5 ; +0x1d0, 0x588948 MOV R1, R6 ; +0x1d2, 0x58894a BL sub_5858BE ; +0x1d4, 0x58894c CBZ R0, loc_58895A ; +0x1d8, 0x588950 MOV R0, R6 ; +0x1da, 0x588952 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x1dc, 0x588954 B def_5887B4; jumptable 005887B4 default case ; +0x1e0, 0x588958 LDRB.W R3, [SP,#0x68+var_64] ; +0x1e2, 0x58895a LSLS R1, R3, #0x1F ; +0x1e6, 0x58895e ITE PL ; +0x1e8, 0x588960 ADDPL.W R3, SP, #0x68+var_63 ; +0x1ea, 0x588962 LDRMI R3, [SP,#0x68+var_5C] ; +0x1ee, 0x588966 LDRB R3, [R3] ; +0x1f0, 0x588968 CMP R3, #0 ; +0x1f2, 0x58896a BEQ loc_588952 ; +0x1f4, 0x58896c LDRB.W R3, [SP,#0x68+var_10] ; +0x1f6, 0x58896e LSLS R2, R3, #0x1F ; +0x1fa, 0x588972 ITE PL ; +0x1fc, 0x588974 ADDPL.W R3, SP, #0x68+var_F ; +0x1fe, 0x588976 LDRMI R3, [SP,#0x68+var_8] ; +0x202, 0x58897a LDRB R3, [R3] ; +0x204, 0x58897c CMP R3, #0 ; +0x206, 0x58897e BEQ loc_588952 ; +0x208, 0x588980 CMP.W R10, #0 ; +0x20a, 0x588982 BNE loc_588952 ; +0x20e, 0x588986 B loc_588A06 ; +0x210, 0x588988 ADD.W R8, SP, #0x68+var_10; jumptable 005887B4 case 4 ; +0x212, 0x58898a MOV R1, R5 ; +0x216, 0x58898e MOV R0, R8 ; +0x218, 0x588990 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_; std::string::basic_string(std::string const&) ; +0x21a, 0x588992 MOV R0, R4 ; +0x21e, 0x588996 MOV R1, R8 ; +0x220, 0x588998 BL _ZN20AccountRegisterLayer10validEmailENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; AccountRegisterLayer::validEmail(std::string) ; +0x222, 0x58899a CBNZ R0, loc_5889B8 ; +0x226, 0x58899e LDRB.W R6, [SP,#0x68+var_64] ; +0x228, 0x5889a0 LSLS R3, R6, #0x1F ; +0x22c, 0x5889a4 ITE PL ; +0x22e, 0x5889a6 ASRPL R6, R6, #1 ; +0x230, 0x5889a8 LDRMI R6, [SP,#0x68+var_60] ; +0x232, 0x5889aa ADDS R6, #0 ; +0x234, 0x5889ac IT NE ; +0x236, 0x5889ae MOVNE R6, #1 ; +0x238, 0x5889b0 B loc_5889BA ; +0x23a, 0x5889b2 MOV R0, R8 ; +0x23c, 0x5889b4 B loc_5889E8 ; +0x23e, 0x5889b6 MOVS R6, #0 ; +0x240, 0x5889b8 MOV R0, R8 ; +0x242, 0x5889ba BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x244, 0x5889bc CBZ R6, def_5887B4; jumptable 005887B4 default case ; +0x248, 0x5889c0 MOV R0, R4 ; +0x24a, 0x5889c2 MOV R1, #0xFFFFFFFA ; +0x24c, 0x5889c4 BL _ZN20AccountRegisterLayer11updateLabelE12AccountError; AccountRegisterLayer::updateLabel(AccountError) ; +0x250, 0x5889c8 MOVS R3, #0; jumptable 005887B4 default case ; +0x254, 0x5889cc MOV R0, R5 ; +0x256, 0x5889ce STRB.W R3, [R4,#0x240] ; +0x258, 0x5889d0 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x25c, 0x5889d4 LDR R2, [SP,#0x68+var_4] ; +0x260, 0x5889d8 LDR R3, [R7] ; +0x262, 0x5889da CMP R2, R3 ; +0x264, 0x5889dc BEQ loc_588A12 ; +0x266, 0x5889de BLX __stack_chk_fail ; +0x268, 0x5889e0 B loc_5889E6 ; +0x26c, 0x5889e4 MOV R0, R6 ; +0x26e, 0x5889e6 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x270, 0x5889e8 B loc_5889F0 ; +0x274, 0x5889ec B loc_5889E6 ; +0x276, 0x5889ee MOV R0, R5 ; +0x278, 0x5889f0 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x27a, 0x5889f2 BL __cxa_end_cleanup ; +0x27e, 0x5889f6 MOV R0, R4 ; +0x282, 0x5889fa MOV R1, #0xFFFFFFF9 ; +0x284, 0x5889fc BL _ZN20AccountRegisterLayer11updateLabelE12AccountError; AccountRegisterLayer::updateLabel(AccountError) ; +0x288, 0x588a00 B loc_588952 ; +0x28c, 0x588a04 MOV R0, R4 ; +0x28e, 0x588a06 MOV R1, #0xFFFFFFF9 ; +0x290, 0x588a08 BL _ZN20AccountRegisterLayer11updateLabelE12AccountError; AccountRegisterLayer::updateLabel(AccountError) ; +0x294, 0x588a0c B loc_588952 ; +0x298, 0x588a10 ADD SP, SP, #0x68 ; 'h' ; +0x29a, 0x588a12 POP.W {R4-R10,PC} ; +0x29c, 0x588a14