; ; AccountHelpLayer::customSetup from 0x5854c8 to 0x585782 (698 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:57 +0000 ; PUSH.W {R4-R11,LR} ; +0x0, 0x5854c8 MOV R4, R0 ; +0x4, 0x5854cc LDR R7, =(__stack_chk_guard_ptr - 0x5854D8) ; +0x6, 0x5854ce VPUSH {D8} ; +0x8, 0x5854d0 ADD R7, PC; __stack_chk_guard_ptr ; +0xc, 0x5854d4 LDR R7, [R7]; __stack_chk_guard ; +0xe, 0x5854d6 LDR R3, [R7] ; +0x10, 0x5854d8 VMOV.F32 S16, #0.5 ; +0x12, 0x5854da SUB SP, SP, #0x64 ; +0x16, 0x5854de ADD R5, SP, #0x64+var_1C ; +0x18, 0x5854e0 STR R3, [SP,#0x64+var_8] ; +0x1a, 0x5854e2 BL _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x1c, 0x5854e4 MOV R1, R0 ; +0x20, 0x5854e8 ADD R0, SP, #0x64+var_4C; this ; +0x22, 0x5854ea BL _ZN7cocos2d10CCDirector10getWinSizeEv; cocos2d::CCDirector::getWinSize(void) ; +0x24, 0x5854ec LDR R0, =(unk_B6B226 - 0x5854F8) ; +0x28, 0x5854f0 LDR R1, =(aGoldfontFnt - 0x5854FA); "goldFont.fnt" ; +0x2a, 0x5854f2 ADD R0, PC; unk_B6B226 ; this ; +0x2c, 0x5854f4 ADD R1, PC; "goldFont.fnt" ; +0x2e, 0x5854f6 BL _ZN7cocos2d13CCLabelBMFont6createEPKcS2_; cocos2d::CCLabelBMFont::create(char const*,char const*) ; +0x30, 0x5854f8 LDR R1, =0x3F4CCCCD ; +0x34, 0x5854fc STR.W R0, [R4,#0x1E8] ; +0x36, 0x5854fe LDR R3, [R0] ; +0x3a, 0x585502 LDR R3, [R3,#0x50] ; +0x3c, 0x585504 BLX R3 ; +0x3e, 0x585506 LDR.W R0, [R4,#0x1D0] ; +0x40, 0x585508 LDR.W R1, [R4,#0x1E8] ; +0x44, 0x58550c LDR R3, [R0] ; +0x48, 0x585510 LDR.W R3, [R3,#0xE4] ; +0x4a, 0x585512 BLX R3 ; +0x4e, 0x585516 VLDR S15, [SP,#0x64+var_4C] ; +0x50, 0x585518 LDR.W R6, [R4,#0x1E8] ; +0x54, 0x58551c MOV R0, R5; this ; +0x58, 0x585520 VLDR S14, [SP,#0x64+var_48] ; +0x5a, 0x585522 LDR R3, [R6] ; +0x5e, 0x585526 VMUL.F32 S15, S15, S16 ; +0x60, 0x585528 LDR.W R8, [R3,#0x5C] ; +0x64, 0x58552c VMOV R1, S15; float ; +0x68, 0x585530 VLDR S15, =90.0 ; +0x6c, 0x585534 VMLA.F32 S15, S14, S16 ; +0x70, 0x585538 VMOV R2, S15; float ; +0x74, 0x58553c BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x78, 0x585540 MOV R0, R6 ; +0x7c, 0x585544 MOV R1, R5 ; +0x7e, 0x585546 ADD R6, SP, #0x64+var_14 ; +0x80, 0x585548 BLX R8 ; +0x82, 0x58554a LDR R1, =(asc_B7533B - 0x585556); " " ; +0x84, 0x58554c MOV R0, R6 ; +0x86, 0x58554e MOVS R2, #1 ; +0x88, 0x585550 ADD R1, PC; " " ; +0x8a, 0x585552 MOVS R3, #0 ; +0x8c, 0x585554 STR R3, [SP,#0x64+var_14] ; +0x8e, 0x585556 STR R3, [SP,#0x64+var_10] ; +0x90, 0x585558 STR R3, [SP,#0x64+var_C] ; +0x92, 0x58555a BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x94, 0x58555c MOV R0, R5; this ; +0x98, 0x585560 VMOV R1, S16; float ; +0x9a, 0x585562 MOV.W R2, #0x3F800000; float ; +0x9e, 0x585566 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0xa2, 0x58556a LDR R3, =0x420C0000 ; +0xa6, 0x58556e MOV R0, R6 ; +0xa8, 0x585570 LDR R1, =(aBigfontFnt - 0x585580); "bigFont.fnt" ; +0xaa, 0x585572 MOV.W R2, #0x3F800000 ; +0xac, 0x585574 STR R5, [SP,#0x64+var_64] ; +0xb0, 0x585578 STR R3, [SP,#0x64+var_60]; bool ; +0xb2, 0x58557a ADD R1, PC; "bigFont.fnt" ; +0xb4, 0x58557c MOVS R3, #0 ; +0xb6, 0x58557e STR R3, [SP,#0x64+var_5C] ; +0xb8, 0x585580 STR R3, [SP,#0x64+var_58] ; +0xba, 0x585582 LDR R3, =0x447A0000 ; +0xbc, 0x585584 BL _ZN8TextArea6createENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPKcffN7cocos2d7CCPointEfbi; TextArea::create(std::string,char const*,float,float,cocos2d::CCPoint,float,bool,int) ; +0xbe, 0x585586 STR.W R0, [R4,#0x1EC] ; +0xc2, 0x58558a MOV R0, R6 ; +0xc6, 0x58558e BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xc8, 0x585590 LDR.W R0, [R4,#0x1EC] ; +0xcc, 0x585594 LDR R1, =0x3ECCCCCD ; +0xd0, 0x585598 ADD.W R8, SP, #0x64+var_24 ; +0xd2, 0x58559a LDR R3, [R0] ; +0xd6, 0x58559e LDR R3, [R3,#0x50] ; +0xd8, 0x5855a0 BLX R3 ; +0xda, 0x5855a2 LDR.W R0, [R4,#0x1D0] ; +0xdc, 0x5855a4 LDR.W R1, [R4,#0x1EC] ; +0xe0, 0x5855a8 LDR R3, [R0] ; +0xe4, 0x5855ac LDR.W R3, [R3,#0xE4] ; +0xe6, 0x5855ae BLX R3 ; +0xea, 0x5855b2 LDR.W R6, [R4,#0x1EC] ; +0xec, 0x5855b4 LDR.W R0, [R4,#0x1E8] ; +0xf0, 0x5855b8 LDR R3, [R6] ; +0xf4, 0x5855bc LDR.W R9, [R3,#0x5C] ; +0xf6, 0x5855be LDR R3, [R0] ; +0xfa, 0x5855c2 LDR R3, [R3,#0x60] ; +0xfc, 0x5855c4 BLX R3 ; +0xfe, 0x5855c6 MOVS R1, #0; float ; +0x100, 0x5855c8 LDR R2, flt_585798; float ; +0x102, 0x5855ca MOV R10, R0 ; +0x104, 0x5855cc MOV R0, R8; this ; +0x106, 0x5855ce BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x108, 0x5855d0 MOV R2, R8 ; +0x10c, 0x5855d4 MOV R0, R5 ; +0x10e, 0x5855d6 MOV R1, R10 ; +0x110, 0x5855d8 BL _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x112, 0x5855da MOV R0, R6 ; +0x116, 0x5855de MOV R1, R5 ; +0x118, 0x5855e0 MOV.W R8, #1 ; +0x11a, 0x5855e2 BLX R9 ; +0x11e, 0x5855e6 LDR R0, =(aRefreshLogin - 0x5855FA); "Refresh Login" ; +0x120, 0x5855e8 MOVS R1, #dword_A0; char * ; +0x122, 0x5855ea MOVS R2, #0; int ; +0x124, 0x5855ec MOV.W R3, #0x3F800000; int ; +0x126, 0x5855ee STR.W R8, [SP,#0x64+var_64]; float ; +0x12a, 0x5855f2 ADD R0, PC; "Refresh Login" ; +0x12e, 0x5855f6 MOVS R5, #0 ; +0x130, 0x5855f8 BL _ZN12ButtonSprite6createEPKciifb; ButtonSprite::create(char const*,int,int,float,bool) ; +0x132, 0x5855fa LDR R3, =(_ZN16AccountHelpLayer9onReLoginEPN7cocos2d8CCObjectE_ptr - 0x585608) ; +0x136, 0x5855fe MOV R1, R5 ; +0x138, 0x585600 MOV R2, R4 ; +0x13a, 0x585602 ADD R3, PC; _ZN16AccountHelpLayer9onReLoginEPN7cocos2d8CCObjectE_ptr ; +0x13c, 0x585604 LDR R3, [R3]; AccountHelpLayer::onReLogin(cocos2d::CCObject *) ; +0x13e, 0x585606 STR R5, [SP,#0x64+var_64] ; +0x140, 0x585608 STR R3, [SP,#0x64+var_2C] ; +0x142, 0x58560a ADD R6, SP, #0x64+var_3C ; +0x144, 0x58560c STR R5, [SP,#0x64+var_28] ; +0x146, 0x58560e BL _ZN21CCMenuItemSpriteExtra6createEPN7cocos2d6CCNodeES2_PNS0_8CCObjectEMS3_FvS4_E; CCMenuItemSpriteExtra::create(cocos2d::CCNode *,cocos2d::CCNode *,cocos2d::CCObject *,void (cocos2d::CCObject::*)(cocos2d::CCObject *)) ; +0x148, 0x585610 STR.W R0, [R4,#0x1F0] ; +0x14c, 0x585614 MOV R1, R0 ; +0x150, 0x585618 LDR.W R0, [R4,#0x1C8] ; +0x152, 0x58561a LDR R3, [R0] ; +0x156, 0x58561e LDR.W R3, [R3,#0xE4] ; +0x158, 0x585620 BLX R3 ; +0x15c, 0x585624 LDR R0, =(aManageAccount - 0x585638); "Manage Account" ; +0x15e, 0x585626 MOV R2, R5; int ; +0x160, 0x585628 MOVS R1, #dword_A0; char * ; +0x162, 0x58562a MOV.W R3, #0x3F800000; int ; +0x164, 0x58562c STR.W R8, [SP,#0x64+var_64]; float ; +0x168, 0x585630 ADD R0, PC; "Manage Account" ; +0x16c, 0x585634 BL _ZN12ButtonSprite6createEPKciifb; ButtonSprite::create(char const*,int,int,float,bool) ; +0x16e, 0x585636 LDR R3, =(_ZN16AccountHelpLayer19onAccountManagementEPN7cocos2d8CCObjectE_ptr - 0x585644) ; +0x172, 0x58563a MOV R1, R5 ; +0x174, 0x58563c MOV R2, R4 ; +0x176, 0x58563e ADD R3, PC; _ZN16AccountHelpLayer19onAccountManagementEPN7cocos2d8CCObjectE_ptr ; +0x178, 0x585640 LDR R3, [R3]; AccountHelpLayer::onAccountManagement(cocos2d::CCObject *) ; +0x17a, 0x585642 STR R5, [SP,#0x64+var_64] ; +0x17c, 0x585644 STR R3, [SP,#0x64+var_24] ; +0x17e, 0x585646 STR R5, [SP,#0x64+var_20] ; +0x180, 0x585648 BL _ZN21CCMenuItemSpriteExtra6createEPN7cocos2d6CCNodeES2_PNS0_8CCObjectEMS3_FvS4_E; CCMenuItemSpriteExtra::create(cocos2d::CCNode *,cocos2d::CCNode *,cocos2d::CCObject *,void (cocos2d::CCObject::*)(cocos2d::CCObject *)) ; +0x182, 0x58564a MOV R10, R0 ; +0x186, 0x58564e LDR.W R0, [R4,#0x1C8] ; +0x188, 0x585650 MOV R1, R10 ; +0x18c, 0x585654 LDR R3, [R0] ; +0x18e, 0x585656 LDR.W R3, [R3,#0xE4] ; +0x190, 0x585658 BLX R3 ; +0x194, 0x58565c LDR R0, =(aUnlinkAccount - 0x585670); "Unlink Account" ; +0x196, 0x58565e MOV R2, R5; int ; +0x198, 0x585660 MOVS R1, #dword_A0; char * ; +0x19a, 0x585662 MOV.W R3, #0x3F800000; int ; +0x19c, 0x585664 STR.W R8, [SP,#0x64+var_64]; float ; +0x1a0, 0x585668 ADD R0, PC; "Unlink Account" ; +0x1a4, 0x58566c BL _ZN12ButtonSprite6createEPKciifb; ButtonSprite::create(char const*,int,int,float,bool) ; +0x1a6, 0x58566e LDR R3, =(_ZN16AccountHelpLayer8onUnlinkEPN7cocos2d8CCObjectE_ptr - 0x58567C) ; +0x1aa, 0x585672 MOV R1, R5 ; +0x1ac, 0x585674 MOV R2, R4 ; +0x1ae, 0x585676 ADD R3, PC; _ZN16AccountHelpLayer8onUnlinkEPN7cocos2d8CCObjectE_ptr ; +0x1b0, 0x585678 LDR R3, [R3]; AccountHelpLayer::onUnlink(cocos2d::CCObject *) ; +0x1b2, 0x58567a STR R5, [SP,#0x64+var_64] ; +0x1b4, 0x58567c STR R3, [SP,#0x64+var_1C] ; +0x1b6, 0x58567e STR R5, [SP,#0x64+var_18] ; +0x1b8, 0x585680 BL _ZN21CCMenuItemSpriteExtra6createEPN7cocos2d6CCNodeES2_PNS0_8CCObjectEMS3_FvS4_E; CCMenuItemSpriteExtra::create(cocos2d::CCNode *,cocos2d::CCNode *,cocos2d::CCObject *,void (cocos2d::CCObject::*)(cocos2d::CCObject *)) ; +0x1ba, 0x585682 ADD R5, SP, #0x64+var_34 ; +0x1be, 0x585686 STR.W R0, [R4,#0x1F4] ; +0x1c0, 0x585688 MOV R1, R0 ; +0x1c4, 0x58568c LDR.W R0, [R4,#0x1C8] ; +0x1c6, 0x58568e LDR R3, [R0] ; +0x1ca, 0x585692 LDR.W R3, [R3,#0xE4] ; +0x1cc, 0x585694 BLX R3 ; +0x1d0, 0x585698 VLDR S15, [SP,#0x64+var_4C] ; +0x1d2, 0x58569a LDR.W R9, [R4,#0x1D0] ; +0x1d6, 0x58569e MOV R0, R6; this ; +0x1da, 0x5856a2 LDR.W R11, [R4,#0x1C8] ; +0x1dc, 0x5856a4 VLDR S14, [SP,#0x64+var_48] ; +0x1e0, 0x5856a8 VMUL.F32 S15, S15, S16 ; +0x1e4, 0x5856ac VMOV R1, S15; float ; +0x1e8, 0x5856b0 VMOV.F32 S15, #30.0 ; +0x1ec, 0x5856b4 VMLA.F32 S15, S14, S16 ; +0x1f0, 0x5856b8 VMOV R2, S15; float ; +0x1f4, 0x5856bc BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x1f8, 0x5856c0 MOV R1, R9; cocos2d::CCPoint * ; +0x1fc, 0x5856c4 ADD.W R9, SP, #0x64+var_44 ; +0x1fe, 0x5856c6 MOV R0, R5; this ; +0x202, 0x5856ca MOV R2, R6 ; +0x204, 0x5856cc BL _ZN7cocos2d6CCNode19convertToWorldSpaceERKNS_7CCPointE; cocos2d::CCNode::convertToWorldSpace(cocos2d::CCPoint const&) ; +0x206, 0x5856ce MOV R1, R11; cocos2d::CCPoint * ; +0x20a, 0x5856d2 MOV R0, R9; this ; +0x20c, 0x5856d4 MOV R2, R5 ; +0x20e, 0x5856d6 BL _ZN7cocos2d6CCNode18convertToNodeSpaceERKNS_7CCPointE; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const&) ; +0x210, 0x5856d8 LDR.W R11, [R4,#0x1F0] ; +0x214, 0x5856dc MOVS R1, #0; float ; +0x218, 0x5856e0 MOV R0, R6; this ; +0x21a, 0x5856e2 MOV R2, R1; float ; +0x21c, 0x5856e4 LDR.W R3, [R11] ; +0x21e, 0x5856e6 LDR R3, [R3,#0x5C] ; +0x222, 0x5856ea STR R3, [SP,#0x64+var_50] ; +0x224, 0x5856ec BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x226, 0x5856ee MOV R2, R6 ; +0x22a, 0x5856f2 MOV R0, R5 ; +0x22c, 0x5856f4 MOV R1, R9 ; +0x22e, 0x5856f6 BL _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x230, 0x5856f8 MOV R0, R11 ; +0x234, 0x5856fc MOV R1, R5 ; +0x236, 0x5856fe LDR R3, [SP,#0x64+var_50] ; +0x238, 0x585700 BLX R3 ; +0x23a, 0x585702 LDR.W R3, [R10] ; +0x23c, 0x585704 MOVS R1, #0; float ; +0x240, 0x585708 LDR R2, flt_58579C; float ; +0x242, 0x58570a MOV R0, R6; this ; +0x244, 0x58570c LDR.W R11, [R3,#0x5C] ; +0x246, 0x58570e BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x24a, 0x585712 MOV R2, R6 ; +0x24e, 0x585716 MOV R0, R5 ; +0x250, 0x585718 MOV R1, R9 ; +0x252, 0x58571a BL _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x254, 0x58571c MOV R0, R10 ; +0x258, 0x585720 MOV R1, R5 ; +0x25a, 0x585722 BLX R11 ; +0x25c, 0x585724 LDR.W R10, [R4,#0x1F4] ; +0x25e, 0x585726 MOVS R1, #0; float ; +0x262, 0x58572a LDR R2, flt_5857A0; float ; +0x264, 0x58572c MOV R0, R6; this ; +0x266, 0x58572e LDR.W R3, [R10] ; +0x268, 0x585730 LDR.W R11, [R3,#0x5C] ; +0x26c, 0x585734 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x270, 0x585738 MOV R2, R6 ; +0x274, 0x58573c MOV R0, R5 ; +0x276, 0x58573e MOV R1, R9 ; +0x278, 0x585740 BL _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x27a, 0x585742 MOV R1, R5 ; +0x27e, 0x585746 MOV R0, R10 ; +0x280, 0x585748 BLX R11 ; +0x282, 0x58574a MOV R0, R4; this ; +0x284, 0x58574c BL _ZN16AccountHelpLayer10updatePageEv; AccountHelpLayer::updatePage(void) ; +0x286, 0x58574e BL _ZN16GJAccountManager11sharedStateEv; GJAccountManager::sharedState(void) ; +0x28a, 0x585752 ADD.W R3, R4, #0x1E0 ; +0x28e, 0x585756 LDR R2, [SP,#0x64+var_8] ; +0x292, 0x58575a STR.W R3, [R0,#0x138] ; +0x294, 0x58575c LDR R3, [R7] ; +0x298, 0x585760 STRB.W R8, [R4,#0x1F8] ; +0x29a, 0x585762 CMP R2, R3 ; +0x29e, 0x585766 BEQ loc_585778 ; +0x2a0, 0x585768 BLX __stack_chk_fail ; +0x2a2, 0x58576a MOV R0, R6 ; +0x2a6, 0x58576e BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x2a8, 0x585770 BL __cxa_end_cleanup ; +0x2ac, 0x585774 ADD SP, SP, #0x64 ; 'd' ; +0x2b0, 0x585778 VPOP {D8} ; +0x2b2, 0x58577a POP.W {R4-R11,PC} ; +0x2b6, 0x58577e