; ; AccountLoginLayer::onSubmit from 0x5868fc to 0x586ad4 (472 bytes) ; ; 0 xrefs: ; ; 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:52:58 +0000 ; PUSH.W {R4-R10,LR} ; +0x0, 0x5868fc SUB SP, SP, #0x20 ; +0x4, 0x586900 LDR.W R8, =(__stack_chk_guard_ptr - 0x586912) ; +0x6, 0x586902 MOV R4, R0 ; +0xa, 0x586906 ADD R5, SP, #0x20+var_10 ; +0xc, 0x586908 ADD.W R9, R4, #0x224 ; +0xe, 0x58690a ADD R8, PC; __stack_chk_guard_ptr ; +0x12, 0x58690e LDR.W R8, [R8]; __stack_chk_guard ; +0x14, 0x586910 LDR.W R3, [R8] ; +0x18, 0x586914 STR R3, [SP,#0x20+var_4] ; +0x1c, 0x586918 BL _ZN17AccountLoginLayer11resetLabelsEv; AccountLoginLayer::resetLabels(void) ; +0x1e, 0x58691a MOV R0, R4; this ; +0x22, 0x58691e BL _ZN17AccountLoginLayer12disableNodesEv; AccountLoginLayer::disableNodes(void) ; +0x24, 0x586920 MOV R0, R5; this ; +0x28, 0x586924 LDR.W R1, [R4,#0x210] ; +0x2a, 0x586926 BL _ZN15CCTextInputNode9getStringEv; CCTextInputNode::getString(void) ; +0x2e, 0x58692a LDRB.W R7, [R4,#0x224] ; +0x32, 0x58692e MOV R0, R9 ; +0x36, 0x586932 MOVS R1, #0 ; +0x38, 0x586934 ANDS.W R6, R7, #1 ; +0x3a, 0x586936 ITT EQ ; +0x3e, 0x58693a STRBEQ.W R6, [R4,#0x225] ; +0x40, 0x58693c STRBEQ.W R6, [R4,#0x224] ; +0x44, 0x586940 MOV.W R7, #0 ; +0x48, 0x586944 ITT NE ; +0x4c, 0x586948 LDRNE.W R2, [R4,#0x22C] ; +0x4e, 0x58694a MOVNE R3, #0 ; +0x52, 0x58694e ADD.W R6, R4, #0x230 ; +0x54, 0x586950 ITT NE ; +0x58, 0x586954 STRBNE R3, [R2] ; +0x5a, 0x586956 STRNE.W R3, [R4,#0x228] ; +0x5c, 0x586958 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEj; std::string::reserve(uint) ; +0x60, 0x58695c LDM.W R5, {R0-R2} ; +0x64, 0x586960 STR R7, [SP,#0x20+var_10] ; +0x68, 0x586964 STR R7, [SP,#0x20+var_C] ; +0x6a, 0x586966 STR R7, [SP,#0x20+var_8] ; +0x6c, 0x586968 STM.W R9, {R0-R2} ; +0x6e, 0x58696a MOV R0, R5 ; +0x72, 0x58696e BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x74, 0x586970 MOV R0, R5; this ; +0x78, 0x586974 LDR.W R1, [R4,#0x214] ; +0x7a, 0x586976 BL _ZN15CCTextInputNode9getStringEv; CCTextInputNode::getString(void) ; +0x7e, 0x58697a LDRB.W R3, [R4,#0x230] ; +0x82, 0x58697e MOV R0, R6 ; +0x86, 0x586982 MOVS R1, #0 ; +0x88, 0x586984 ANDS.W R3, R3, #1 ; +0x8a, 0x586986 ITTEE EQ ; +0x8e, 0x58698a STRBEQ.W R3, [R4,#0x231] ; +0x90, 0x58698c STRBEQ.W R3, [R4,#0x230] ; +0x94, 0x586990 LDRNE.W R3, [R4,#0x238] ; +0x98, 0x586994 STRBNE R7, [R3] ; +0x9c, 0x586998 IT NE ; +0x9e, 0x58699a STRNE.W R7, [R4,#0x234] ; +0xa0, 0x58699c BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEj; std::string::reserve(uint) ; +0xa4, 0x5869a0 LDM.W R5, {R0-R2} ; +0xa8, 0x5869a4 MOVS R3, #0 ; +0xac, 0x5869a8 STR R3, [SP,#0x20+var_10] ; +0xae, 0x5869aa STR R3, [SP,#0x20+var_C] ; +0xb0, 0x5869ac STR R3, [SP,#0x20+var_8] ; +0xb2, 0x5869ae STM.W R6, {R0-R2} ; +0xb4, 0x5869b0 MOV R0, R5 ; +0xb8, 0x5869b4 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xba, 0x5869b6 LDRB.W R3, [R4,#0x224] ; +0xbe, 0x5869ba LSLS R1, R3, #0x1F ; +0xc2, 0x5869be ITE PL ; +0xc4, 0x5869c0 ASRPL R3, R3, #1 ; +0xc6, 0x5869c2 LDRMI.W R3, [R4,#0x228] ; +0xc8, 0x5869c4 CMP R3, #2 ; +0xcc, 0x5869c8 BHI loc_5869D4 ; +0xce, 0x5869ca MOV R0, R4 ; +0xd0, 0x5869cc MOV R1, #0xFFFFFFF7 ; +0xd2, 0x5869ce B loc_5869FC ; +0xd6, 0x5869d2 LDRB.W R3, [R4,#0x230] ; +0xd8, 0x5869d4 LSLS R2, R3, #0x1F ; +0xdc, 0x5869d8 ITE PL ; +0xde, 0x5869da ASRPL R3, R3, #1 ; +0xe0, 0x5869dc LDRMI.W R3, [R4,#0x234] ; +0xe2, 0x5869de CMP R3, #5 ; +0xe6, 0x5869e2 BHI loc_5869EE ; +0xe8, 0x5869e4 MOV R0, R4 ; +0xea, 0x5869e6 MOV R1, #0xFFFFFFF8 ; +0xec, 0x5869e8 B loc_5869FC ; +0xf0, 0x5869ec MOV R0, R6 ; +0xf2, 0x5869ee BL _Z18passwordCharsValidRKNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE; passwordCharsValid(std::string const&) ; +0xf4, 0x5869f0 CBNZ R0, loc_586A02 ; +0xf8, 0x5869f4 MOV R0, R4 ; +0xfa, 0x5869f6 MOV R1, #0xFFFFFFF2 ; +0xfc, 0x5869f8 BL _ZN17AccountLoginLayer11updateLabelE12AccountError; AccountLoginLayer::updateLabel(AccountError) ; +0x100, 0x5869fc B loc_586AC0 ; +0x104, 0x586a00 BL _ZN16GJAccountManager11sharedStateEv; GJAccountManager::sharedState(void) ; +0x106, 0x586a02 ADD R7, SP, #0x20+var_1C ; +0x10a, 0x586a06 ADD.W R3, R4, #0x208 ; +0x10c, 0x586a08 MOV R1, R6 ; +0x110, 0x586a0c STR.W R3, [R0,#0x134] ; +0x112, 0x586a0e MOV R0, R7 ; +0x116, 0x586a12 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_; std::string::basic_string(std::string const&) ; +0x118, 0x586a14 MOV R0, R5 ; +0x11c, 0x586a18 MOV R1, R7 ; +0x11e, 0x586a1a BL _ZN16GJAccountManager14getShaPasswordENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; GJAccountManager::getShaPassword(std::string) ; +0x120, 0x586a1c LDRB.W R3, [R4,#0x230] ; +0x124, 0x586a20 MOV R0, R6 ; +0x128, 0x586a24 MOVS R1, #0 ; +0x12a, 0x586a26 ANDS.W R3, R3, #1 ; +0x12c, 0x586a28 ITTEE EQ ; +0x130, 0x586a2c STRBEQ.W R3, [R4,#0x231] ; +0x132, 0x586a2e STRBEQ.W R3, [R4,#0x230] ; +0x136, 0x586a32 LDRNE.W R2, [R4,#0x238] ; +0x13a, 0x586a36 MOVNE R3, #0 ; +0x13e, 0x586a3a ITT NE ; +0x140, 0x586a3c STRBNE R3, [R2] ; +0x142, 0x586a3e STRNE.W R3, [R4,#0x234] ; +0x144, 0x586a40 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEj; std::string::reserve(uint) ; +0x148, 0x586a44 LDM.W R5, {R0-R2} ; +0x14c, 0x586a48 MOVS R3, #0 ; +0x150, 0x586a4c STR R3, [SP,#0x20+var_10] ; +0x152, 0x586a4e STR R3, [SP,#0x20+var_C] ; +0x154, 0x586a50 STR R3, [SP,#0x20+var_8] ; +0x156, 0x586a52 STM.W R6, {R0-R2} ; +0x158, 0x586a54 MOV R0, R5 ; +0x15c, 0x586a58 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x15e, 0x586a5a MOV R0, R7 ; +0x162, 0x586a5e BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x164, 0x586a60 BL _ZN16GJAccountManager11sharedStateEv; GJAccountManager::sharedState(void) ; +0x168, 0x586a64 MOV R1, R9 ; +0x16c, 0x586a68 MOV R10, R0 ; +0x16e, 0x586a6a MOV R0, R7 ; +0x170, 0x586a6c BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_; std::string::basic_string(std::string const&) ; +0x172, 0x586a6e MOV R0, R5 ; +0x176, 0x586a72 MOV R1, R6 ; +0x178, 0x586a74 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_; std::string::basic_string(std::string const&) ; +0x17a, 0x586a76 MOV R0, R10 ; +0x17e, 0x586a7a MOV R1, R7 ; +0x180, 0x586a7c MOV R2, R5 ; +0x182, 0x586a7e BL _ZN16GJAccountManager12loginAccountENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES6_; GJAccountManager::loginAccount(std::string,std::string) ; +0x184, 0x586a80 MOV R6, R0 ; +0x188, 0x586a84 MOV R0, R5 ; +0x18a, 0x586a86 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x18c, 0x586a88 MOV R0, R7 ; +0x190, 0x586a8c BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x192, 0x586a8e CBZ R6, loc_586A9C ; +0x196, 0x586a92 MOV R0, R4; this ; +0x198, 0x586a94 BL _ZN17AccountLoginLayer13showLoadingUIEv; AccountLoginLayer::showLoadingUI(void) ; +0x19a, 0x586a96 B loc_586AC0 ; +0x19e, 0x586a9a LDR R3, [R4] ; +0x1a0, 0x586a9c MOV R0, R4 ; +0x1a2, 0x586a9e MOV.W R1, #0xFFFFFFFF ; +0x1a4, 0x586aa0 LDR.W R3, [R3,#0x2B4] ; +0x1a8, 0x586aa4 BLX R3 ; +0x1ac, 0x586aa8 B loc_586AC0 ; +0x1ae, 0x586aaa B loc_586AB6 ; +0x1b0, 0x586aac MOV R0, R5 ; +0x1b2, 0x586aae BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x1b4, 0x586ab0 B loc_586AB6 ; +0x1b8, 0x586ab4 MOV R0, R7 ; +0x1ba, 0x586ab6 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x1bc, 0x586ab8 BL __cxa_end_cleanup ; +0x1c0, 0x586abc LDR R2, [SP,#0x20+var_4] ; +0x1c4, 0x586ac0 LDR.W R3, [R8] ; +0x1c6, 0x586ac2 CMP R2, R3 ; +0x1ca, 0x586ac6 BEQ loc_586ACE ; +0x1cc, 0x586ac8 BLX __stack_chk_fail ; +0x1ce, 0x586aca ADD SP, SP, #0x20 ; ' ' ; +0x1d2, 0x586ace POP.W {R4-R10,PC} ; +0x1d4, 0x586ad0