; ; AccountHelpLayer::updatePage from 0x5852e4 to 0x58549a (438 bytes) ; ; 2 xrefs: ; > AccountHelpLayer::accountStatusChanged @ 0x5854bc ; > AccountHelpLayer::customSetup @ 0x58574e ; ; 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:57 +0000 ; PUSH.W {R0-R8,LR} ; +0x0, 0x5852e4 MOV R6, R0 ; +0x4, 0x5852e8 LDR.W R8, =(__stack_chk_guard_ptr - 0x5852F4) ; +0x6, 0x5852ea MOV R4, SP ; +0xa, 0x5852ee ADD R8, PC; __stack_chk_guard_ptr ; +0xc, 0x5852f0 LDR.W R8, [R8]; __stack_chk_guard ; +0xe, 0x5852f2 LDR.W R3, [R8] ; +0x12, 0x5852f6 STR R3, [SP,#0x10+var_4] ; +0x16, 0x5852fa BL _ZN16GJAccountManager11sharedStateEv; GJAccountManager::sharedState(void) ; +0x18, 0x5852fc LDR.W R2, [R0,#0x118] ; +0x1c, 0x585300 LDR.W R3, [R0,#0x11C] ; +0x20, 0x585304 CMP R2, R3 ; +0x24, 0x585308 BEQ loc_585334 ; +0x26, 0x58530a BL _ZN16GJAccountManager11sharedStateEv; GJAccountManager::sharedState(void) ; +0x28, 0x58530c ADD.W R1, R0, #0x124 ; +0x2c, 0x585310 MOV R0, SP ; +0x30, 0x585314 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_; std::string::basic_string(std::string const&) ; +0x32, 0x585316 LDRB.W R5, [SP,#0x10+var_10] ; +0x36, 0x58531a MOV R0, SP ; +0x3a, 0x58531e LSLS R1, R5, #0x1F ; +0x3c, 0x585320 ITE PL ; +0x3e, 0x585322 ASRPL R5, R5, #1 ; +0x40, 0x585324 LDRMI R5, [SP,#0x10+var_C] ; +0x42, 0x585326 ADDS R5, #0 ; +0x44, 0x585328 IT NE ; +0x46, 0x58532a MOVNE R5, #1 ; +0x48, 0x58532c BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x4a, 0x58532e B loc_585336 ; +0x4e, 0x585332 MOVS R5, #0 ; +0x50, 0x585334 LDR R2, =(byte_BED88C - 0x585340) ; +0x52, 0x585336 LDR.W R0, [R6,#0x1EC] ; +0x54, 0x585338 ADD R2, PC; byte_BED88C ; +0x58, 0x58533c LDRB R1, [R2,#(byte_BED890 - 0xBED88C)] ; +0x5a, 0x58533e LDRB R3, [R2,#(byte_BED88F - 0xBED88C)] ; +0x5c, 0x585340 ORR.W R3, R3, R1,LSL#8 ; +0x5e, 0x585342 LDRB R1, [R2,#(byte_BED891 - 0xBED88C)] ; +0x62, 0x585346 ORR.W R1, R3, R1,LSL#16 ; +0x64, 0x585348 BL _ZN8TextArea20colorAllCharactersToEN7cocos2d10_ccColor3BE; TextArea::colorAllCharactersTo(cocos2d::_ccColor3B) ; +0x68, 0x58534c CBZ R5, loc_5853B2 ; +0x6c, 0x585350 LDR.W R5, [R6,#0x1E8] ; +0x6e, 0x585352 LDR R3, [R5] ; +0x72, 0x585356 LDR.W R7, [R3,#0x1D0] ; +0x74, 0x585358 BL _ZN16GJAccountManager11sharedStateEv; GJAccountManager::sharedState(void) ; +0x78, 0x58535c ADD.W R1, R0, #0x10C ; +0x7c, 0x585360 MOV R0, R4 ; +0x80, 0x585364 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_; std::string::basic_string(std::string const&) ; +0x82, 0x585366 LDRB.W R3, [SP,#0x10+var_10] ; +0x86, 0x58536a LDR R0, =(aLinkedToAccoun - 0x58537C); "Linked to account: %s" ; +0x8a, 0x58536e LSLS R2, R3, #0x1F ; +0x8c, 0x585370 IT PL ; +0x8e, 0x585372 ADDPL.W R1, SP, #0x10+var_10+1 ; +0x90, 0x585374 ADD R0, PC; "Linked to account: %s" ; +0x94, 0x585378 IT MI ; +0x96, 0x58537a LDRMI R1, [SP,#0x10+var_8]; char * ; +0x98, 0x58537c BL _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x9a, 0x58537e BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x9e, 0x585382 MOV R1, R0 ; +0xa2, 0x585386 MOV R0, R5 ; +0xa4, 0x585388 BLX R7 ; +0xa6, 0x58538a MOV R0, R4 ; +0xa8, 0x58538c BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xaa, 0x58538e LDR.W R5, [R6,#0x1EC] ; +0xae, 0x585392 LDR R1, =(unk_B6B226 - 0x5853A2) ; +0xb2, 0x585396 MOVS R2, #0 ; +0xb4, 0x585398 MOV R0, R4 ; +0xb6, 0x58539a STR R2, [SP,#0x10+var_10] ; +0xb8, 0x58539c ADD R1, PC; unk_B6B226 ; +0xba, 0x58539e STR R2, [SP,#0x10+var_C] ; +0xbc, 0x5853a0 STR R2, [SP,#0x10+var_8] ; +0xbe, 0x5853a2 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0xc0, 0x5853a4 MOV R0, R5 ; +0xc4, 0x5853a8 MOV R1, R4 ; +0xc6, 0x5853aa BL _ZN8TextArea9setStringENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; TextArea::setString(std::string) ; +0xc8, 0x5853ac B loc_58544E ; +0xcc, 0x5853b0 BL _ZN16GJAccountManager11sharedStateEv; GJAccountManager::sharedState(void) ; +0xce, 0x5853b2 LDR.W R7, [R6,#0x1E8] ; +0xd2, 0x5853b6 LDR.W R3, [R0,#0x11C] ; +0xd6, 0x5853ba LDR.W R2, [R0,#0x118] ; +0xda, 0x5853be CMP R2, R3 ; +0xde, 0x5853c2 LDR R3, [R7] ; +0xe0, 0x5853c4 BEQ loc_585424 ; +0xe2, 0x5853c6 LDR.W R5, [R3,#0x1D0] ; +0xe4, 0x5853c8 BL _ZN16GJAccountManager11sharedStateEv; GJAccountManager::sharedState(void) ; +0xe8, 0x5853cc ADD.W R1, R0, #0x10C ; +0xec, 0x5853d0 MOV R0, R4 ; +0xf0, 0x5853d4 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_; std::string::basic_string(std::string const&) ; +0xf2, 0x5853d6 LDRB.W R3, [SP,#0x10+var_10] ; +0xf6, 0x5853da LDR R0, =(aLinkedToAccoun - 0x5853EC); "Linked to account: %s" ; +0xfa, 0x5853de LSLS R3, R3, #0x1F ; +0xfc, 0x5853e0 IT PL ; +0xfe, 0x5853e2 ADDPL.W R1, SP, #0x10+var_10+1 ; +0x100, 0x5853e4 ADD R0, PC; "Linked to account: %s" ; +0x104, 0x5853e8 IT MI ; +0x106, 0x5853ea LDRMI R1, [SP,#0x10+var_8]; char * ; +0x108, 0x5853ec BL _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x10a, 0x5853ee BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x10e, 0x5853f2 MOV R1, R0 ; +0x112, 0x5853f6 MOV R0, R7 ; +0x114, 0x5853f8 BLX R5 ; +0x116, 0x5853fa MOV R0, R4 ; +0x118, 0x5853fc BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x11a, 0x5853fe LDR.W R5, [R6,#0x1EC] ; +0x11e, 0x585402 LDR R1, =(aLoginRequired - 0x585412); "Login required" ; +0x122, 0x585406 MOV R0, R4 ; +0x124, 0x585408 MOVS R2, #0xE ; +0x126, 0x58540a MOVS R3, #0 ; +0x128, 0x58540c ADD R1, PC; "Login required" ; +0x12a, 0x58540e STR R3, [SP,#0x10+var_10] ; +0x12c, 0x585410 STR R3, [SP,#0x10+var_C] ; +0x12e, 0x585412 STR R3, [SP,#0x10+var_8] ; +0x130, 0x585414 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x132, 0x585416 MOV R0, R5 ; +0x136, 0x58541a MOV R1, R4 ; +0x138, 0x58541c BL _ZN8TextArea9setStringENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; TextArea::setString(std::string) ; +0x13a, 0x58541e B loc_58544E ; +0x13e, 0x585422 LDR R1, =(aNotLoggedIn - 0x585430); "Not logged in" ; +0x140, 0x585424 MOV R0, R7 ; +0x142, 0x585426 LDR.W R3, [R3,#0x1D0] ; +0x144, 0x585428 ADD R1, PC; "Not logged in" ; +0x148, 0x58542c BLX R3 ; +0x14a, 0x58542e LDR.W R7, [R6,#0x1EC] ; +0x14c, 0x585430 LDR R1, =(aCreateAnAccoun_0 - 0x585440); "Create an account to backup\nand sync y"... ; +0x150, 0x585434 MOV R0, R4 ; +0x152, 0x585436 MOVS R2, #0x2E ; '.' ; +0x154, 0x585438 STR R5, [SP,#0x10+var_10] ; +0x156, 0x58543a ADD R1, PC; "Create an account to backup\nand sync y"... ; +0x158, 0x58543c STR R5, [SP,#0x10+var_C] ; +0x15a, 0x58543e STR R5, [SP,#0x10+var_8] ; +0x15c, 0x585440 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x15e, 0x585442 MOV R0, R7 ; +0x162, 0x585446 MOV R1, R4 ; +0x164, 0x585448 BL _ZN8TextArea9setStringENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; TextArea::setString(std::string) ; +0x166, 0x58544a MOV R0, R4 ; +0x16a, 0x58544e BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x16c, 0x585450 LDR.W R4, [R6,#0x1F4] ; +0x170, 0x585454 LDR R3, [R4] ; +0x174, 0x585458 LDR.W R5, [R3,#0xAC] ; +0x176, 0x58545a BL _ZN16GJAccountManager11sharedStateEv; GJAccountManager::sharedState(void) ; +0x17a, 0x58545e LDR.W R3, [R0,#0x11C] ; +0x17e, 0x585462 LDR.W R1, [R0,#0x118] ; +0x182, 0x585466 MOV R0, R4 ; +0x186, 0x58546a SUBS R1, R1, R3 ; +0x188, 0x58546c IT NE ; +0x18a, 0x58546e MOVNE R1, #1 ; +0x18c, 0x585470 BLX R5 ; +0x18e, 0x585472 LDR R2, [SP,#0x10+var_4] ; +0x190, 0x585474 LDR.W R3, [R8] ; +0x192, 0x585476 CMP R2, R3 ; +0x196, 0x58547a BEQ loc_585494 ; +0x198, 0x58547c BLX __stack_chk_fail ; +0x19a, 0x58547e B loc_585484 ; +0x19e, 0x585482 MOV R0, R4 ; +0x1a0, 0x585484 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x1a2, 0x585486 BL __cxa_end_cleanup ; +0x1a6, 0x58548a B loc_585484 ; +0x1aa, 0x58548e B loc_585484 ; +0x1ac, 0x585490 B loc_585484 ; +0x1ae, 0x585492 ADD SP, SP, #0x10 ; +0x1b0, 0x585494 POP.W {R4-R8,PC} ; +0x1b2, 0x585496