; ; AccountHelpLayer::updatePage from 0x46775c to 0x4678da (382 bytes) ; ; 2 xrefs: ; > AccountHelpLayer::customSetup @ 0x467b76 ; > AccountHelpLayer::accountStatusChanged @ 0x467bf8 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; PUSH.W {R4-R9,LR} ; +0x0, 0x46775c SUB SP, SP, #0x14 ; +0x4, 0x467760 LDR R7, =(__stack_chk_guard_ptr - 0x46776C) ; +0x6, 0x467762 MOV R5, R0 ; +0x8, 0x467764 ADD R4, SP, #0x14+var_C ; +0xa, 0x467766 ADD R7, PC; __stack_chk_guard_ptr ; +0xc, 0x467768 LDR R7, [R7]; __stack_chk_guard ; +0xe, 0x46776a LDR R3, [R7] ; +0x10, 0x46776c STR R3, [SP,#0x14+var_8] ; +0x12, 0x46776e BL _ZN16GJAccountManager11sharedStateEv; GJAccountManager::sharedState(void) ; +0x14, 0x467770 LDR.W R2, [R0,#0x110] ; +0x18, 0x467774 LDR.W R3, [R0,#0x114] ; +0x1c, 0x467778 CMP R2, R3 ; +0x20, 0x46777c BEQ loc_4677A2 ; +0x22, 0x46777e BL _ZN16GJAccountManager11sharedStateEv; GJAccountManager::sharedState(void) ; +0x24, 0x467780 ADD.W R1, R0, #0x11C ; +0x28, 0x467784 MOV R0, R4 ; +0x2c, 0x467788 BL sub_775C20 ; +0x2e, 0x46778a LDR R3, [SP,#0x14+var_C] ; +0x32, 0x46778e MOV R0, R4 ; +0x34, 0x467790 LDR.W R6, [R3,#-0xC] ; +0x36, 0x467792 ADDS R6, #0 ; +0x3a, 0x467796 IT NE ; +0x3c, 0x467798 MOVNE R6, #1 ; +0x3e, 0x46779a BL sub_774008 ; +0x40, 0x46779c B loc_4677A4 ; +0x44, 0x4677a0 MOVS R6, #0 ; +0x46, 0x4677a2 LDR R2, =(byte_9ABE98 - 0x4677B2) ; +0x48, 0x4677a4 ADD.W R8, SP, #0x14+var_10 ; +0x4a, 0x4677a6 LDR.W R0, [R5,#0x1EC] ; +0x4e, 0x4677aa ADD R2, PC; byte_9ABE98 ; +0x52, 0x4677ae LDRB R1, [R2,#(byte_9ABE99 - 0x9ABE98)] ; +0x54, 0x4677b0 LDRB R3, [R2] ; +0x56, 0x4677b2 ORR.W R3, R3, R1,LSL#8 ; +0x58, 0x4677b4 LDRB R1, [R2,#(byte_9ABE9A - 0x9ABE98)] ; +0x5c, 0x4677b8 ORR.W R1, R3, R1,LSL#16 ; +0x5e, 0x4677ba BL _ZN8TextArea20colorAllCharactersToEN7cocos2d10_ccColor3BE; TextArea::colorAllCharactersTo(cocos2d::_ccColor3B) ; +0x62, 0x4677be CBZ R6, loc_467810 ; +0x66, 0x4677c2 LDR.W R6, [R5,#0x1E8] ; +0x68, 0x4677c4 LDR R3, [R6] ; +0x6c, 0x4677c8 LDR.W R9, [R3,#0x1C8] ; +0x6e, 0x4677ca BL _ZN16GJAccountManager11sharedStateEv; GJAccountManager::sharedState(void) ; +0x72, 0x4677ce ADD.W R1, R0, #0x10C ; +0x76, 0x4677d2 MOV R0, R4 ; +0x7a, 0x4677d6 BL sub_775C20 ; +0x7c, 0x4677d8 LDR R0, =(aLinkedToAccoun - 0x4677E4); "Linked to account: %s" ; +0x80, 0x4677dc LDR R1, [SP,#0x14+var_C]; char * ; +0x82, 0x4677de ADD R0, PC; "Linked to account: %s" ; +0x84, 0x4677e0 BL _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x86, 0x4677e2 BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x8a, 0x4677e6 MOV R1, R0 ; +0x8e, 0x4677ea MOV R0, R6 ; +0x90, 0x4677ec BLX R9 ; +0x92, 0x4677ee MOV R0, R4 ; +0x94, 0x4677f0 BL sub_774008 ; +0x96, 0x4677f2 LDR.W R6, [R5,#0x1EC] ; +0x9a, 0x4677f6 LDR R1, =(unk_939830 - 0x467804) ; +0x9e, 0x4677fa MOV R0, R4; int ; +0xa0, 0x4677fc MOV R2, R8 ; +0xa2, 0x4677fe ADD R1, PC; unk_939830 ; char * ; +0xa4, 0x467800 BL sub_776584 ; +0xa6, 0x467802 MOV R0, R6 ; +0xaa, 0x467806 MOV R1, R4 ; +0xac, 0x467808 BL _ZN8TextArea9setStringESs; TextArea::setString(std::string) ; +0xae, 0x46780a B loc_467890 ; +0xb2, 0x46780e BL _ZN16GJAccountManager11sharedStateEv; GJAccountManager::sharedState(void) ; +0xb4, 0x467810 LDR.W R6, [R5,#0x1E8] ; +0xb8, 0x467814 LDR.W R3, [R0,#0x114] ; +0xbc, 0x467818 LDR.W R2, [R0,#0x110] ; +0xc0, 0x46781c CMP R2, R3 ; +0xc4, 0x467820 LDR R3, [R6] ; +0xc6, 0x467822 BEQ loc_46786C ; +0xc8, 0x467824 LDR.W R9, [R3,#0x1C8] ; +0xca, 0x467826 BL _ZN16GJAccountManager11sharedStateEv; GJAccountManager::sharedState(void) ; +0xce, 0x46782a ADD.W R1, R0, #0x10C ; +0xd2, 0x46782e MOV R0, R4 ; +0xd6, 0x467832 BL sub_775C20 ; +0xd8, 0x467834 LDR R0, =(aLinkedToAccoun - 0x467840); "Linked to account: %s" ; +0xdc, 0x467838 LDR R1, [SP,#0x14+var_C]; char * ; +0xde, 0x46783a ADD R0, PC; "Linked to account: %s" ; +0xe0, 0x46783c BL _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0xe2, 0x46783e BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0xe6, 0x467842 MOV R1, R0 ; +0xea, 0x467846 MOV R0, R6 ; +0xec, 0x467848 BLX R9 ; +0xee, 0x46784a MOV R0, R4 ; +0xf0, 0x46784c BL sub_774008 ; +0xf2, 0x46784e LDR.W R6, [R5,#0x1EC] ; +0xf6, 0x467852 LDR R1, =(aLoginRequired - 0x467860); "Login required" ; +0xfa, 0x467856 MOV R0, R4; int ; +0xfc, 0x467858 MOV R2, R8 ; +0xfe, 0x46785a ADD R1, PC; "Login required" ; +0x100, 0x46785c BL sub_776584 ; +0x102, 0x46785e MOV R0, R6 ; +0x106, 0x467862 MOV R1, R4 ; +0x108, 0x467864 BL _ZN8TextArea9setStringESs; TextArea::setString(std::string) ; +0x10a, 0x467866 B loc_467890 ; +0x10e, 0x46786a LDR R1, =(aNotLoggedIn - 0x467878); "Not logged in" ; +0x110, 0x46786c MOV R0, R6 ; +0x112, 0x46786e LDR.W R3, [R3,#0x1C8] ; +0x114, 0x467870 ADD R1, PC; "Not logged in" ; +0x118, 0x467874 BLX R3 ; +0x11a, 0x467876 LDR.W R6, [R5,#0x1EC] ; +0x11c, 0x467878 LDR R1, =(aCreateAnAccoun_0 - 0x467886); "Create an account to backup\nand sync y"... ; +0x120, 0x46787c MOV R0, R4; int ; +0x122, 0x46787e MOV R2, R8 ; +0x124, 0x467880 ADD R1, PC; "Create an account to backup\nand sync y"... ; +0x126, 0x467882 BL sub_776584 ; +0x128, 0x467884 MOV R0, R6 ; +0x12c, 0x467888 MOV R1, R4 ; +0x12e, 0x46788a BL _ZN8TextArea9setStringESs; TextArea::setString(std::string) ; +0x130, 0x46788c MOV R0, R4 ; +0x134, 0x467890 BL sub_774008 ; +0x136, 0x467892 LDR.W R4, [R5,#0x1F4] ; +0x13a, 0x467896 LDR R3, [R4] ; +0x13e, 0x46789a LDR.W R5, [R3,#0xA4] ; +0x140, 0x46789c BL _ZN16GJAccountManager11sharedStateEv; GJAccountManager::sharedState(void) ; +0x144, 0x4678a0 LDR.W R3, [R0,#0x114] ; +0x148, 0x4678a4 LDR.W R1, [R0,#0x110] ; +0x14c, 0x4678a8 MOV R0, R4 ; +0x150, 0x4678ac SUBS R1, R1, R3 ; +0x152, 0x4678ae IT NE ; +0x154, 0x4678b0 MOVNE R1, #1 ; +0x156, 0x4678b2 BLX R5 ; +0x158, 0x4678b4 LDR R2, [SP,#0x14+var_8] ; +0x15a, 0x4678b6 LDR R3, [R7] ; +0x15c, 0x4678b8 CMP R2, R3 ; +0x15e, 0x4678ba BEQ loc_4678D4 ; +0x160, 0x4678bc BLX __stack_chk_fail ; +0x162, 0x4678be B loc_4678C4 ; +0x166, 0x4678c2 MOV R0, R4 ; +0x168, 0x4678c4 BL sub_774008 ; +0x16a, 0x4678c6 BL __cxa_end_cleanup ; +0x16e, 0x4678ca B loc_4678C4 ; +0x172, 0x4678ce B loc_4678C4 ; +0x174, 0x4678d0 B loc_4678C4 ; +0x176, 0x4678d2 ADD SP, SP, #0x14 ; +0x178, 0x4678d4 POP.W {R4-R9,PC} ; +0x17a, 0x4678d6