; ; AccountHelpLayer::customSetup from 0x4678fc to 0x467baa (686 bytes) ; ; 0 xrefs: ; ; 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-R11,LR} ; +0x0, 0x4678fc MOV R4, R0 ; +0x4, 0x467900 LDR R7, =(__stack_chk_guard_ptr - 0x46790C) ; +0x6, 0x467902 VPUSH {D8} ; +0x8, 0x467904 ADD R7, PC; __stack_chk_guard_ptr ; +0xc, 0x467908 LDR R7, [R7]; __stack_chk_guard ; +0xe, 0x46790a LDR R3, [R7] ; +0x10, 0x46790c VMOV.F32 S16, #0.5 ; +0x12, 0x46790e SUB SP, SP, #0x5C ; +0x16, 0x467912 ADD R6, SP, #0x5C+var_10 ; +0x18, 0x467914 STR R3, [SP,#0x5C+var_8] ; +0x1a, 0x467916 BL _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x1c, 0x467918 MOV R1, R0 ; +0x20, 0x46791c ADD R0, SP, #0x5C+var_40; this ; +0x22, 0x46791e BL _ZN7cocos2d10CCDirector10getWinSizeEv; cocos2d::CCDirector::getWinSize(void) ; +0x24, 0x467920 LDR R0, =(unk_939830 - 0x46792C) ; +0x28, 0x467924 LDR R1, =(aGoldfontFnt - 0x46792E); "goldFont.fnt" ; +0x2a, 0x467926 ADD R0, PC; unk_939830 ; this ; +0x2c, 0x467928 ADD R1, PC; "goldFont.fnt" ; +0x2e, 0x46792a BL _ZN7cocos2d13CCLabelBMFont6createEPKcS2_; cocos2d::CCLabelBMFont::create(char const*,char const*) ; +0x30, 0x46792c LDR R1, =0x3F4CCCCD ; +0x34, 0x467930 LDR R3, [R0] ; +0x36, 0x467932 STR.W R0, [R4,#0x1E8] ; +0x38, 0x467934 LDR R3, [R3,#0x50] ; +0x3c, 0x467938 BLX R3 ; +0x3e, 0x46793a LDR.W R0, [R4,#0x1D0] ; +0x40, 0x46793c LDR.W R1, [R4,#0x1E8] ; +0x44, 0x467940 LDR R3, [R0] ; +0x48, 0x467944 LDR.W R3, [R3,#0xDC] ; +0x4a, 0x467946 BLX R3 ; +0x4e, 0x46794a VLDR S15, [SP,#0x5C+var_40] ; +0x50, 0x46794c LDR.W R5, [R4,#0x1E8] ; +0x54, 0x467950 MOV R0, R6; this ; +0x58, 0x467954 VLDR S14, [SP,#0x5C+var_3C] ; +0x5a, 0x467956 LDR R3, [R5] ; +0x5e, 0x46795a VMUL.F32 S15, S15, S16 ; +0x60, 0x46795c LDR.W R8, [R3,#0x5C] ; +0x64, 0x467960 VMOV R1, S15; float ; +0x68, 0x467964 VLDR S15, =90.0 ; +0x6c, 0x467968 VMLA.F32 S15, S14, S16 ; +0x70, 0x46796c VMOV R2, S15; float ; +0x74, 0x467970 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x78, 0x467974 MOV R0, R5 ; +0x7c, 0x467978 MOV R1, R6 ; +0x7e, 0x46797a ADD R5, SP, #0x5C+var_18 ; +0x80, 0x46797c BLX R8 ; +0x82, 0x46797e LDR R1, =(asc_943A02 - 0x46798A); " " ; +0x84, 0x467980 ADD R2, SP, #0x5C+var_20 ; +0x86, 0x467982 MOV R0, R5; int ; +0x88, 0x467984 ADD R1, PC; " " ; +0x8a, 0x467986 BL sub_776584 ; +0x8c, 0x467988 MOV R0, R6; this ; +0x90, 0x46798c VMOV R1, S16; float ; +0x92, 0x46798e MOV.W R2, #0x3F800000; float ; +0x96, 0x467992 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x9a, 0x467996 LDR R3, =0x420C0000 ; +0x9e, 0x46799a MOV R0, R5 ; +0xa0, 0x46799c LDR R1, =(aBigfontFnt - 0x4679AC); "bigFont.fnt" ; +0xa2, 0x46799e MOV.W R2, #0x3F800000 ; +0xa4, 0x4679a0 STR R6, [SP,#0x5C+var_5C] ; +0xa8, 0x4679a4 STR R3, [SP,#0x5C+var_58]; bool ; +0xaa, 0x4679a6 ADD R1, PC; "bigFont.fnt" ; +0xac, 0x4679a8 MOVS R3, #0 ; +0xae, 0x4679aa STR R3, [SP,#0x5C+var_54] ; +0xb0, 0x4679ac LDR R3, =0x447A0000 ; +0xb2, 0x4679ae BL _ZN8TextArea6createESsPKcffN7cocos2d7CCPointEfb; TextArea::create(std::string,char const*,float,float,cocos2d::CCPoint,float,bool) ; +0xb4, 0x4679b0 STR.W R0, [R4,#0x1EC] ; +0xb8, 0x4679b4 MOV R0, R5 ; +0xbc, 0x4679b8 BL sub_774008 ; +0xbe, 0x4679ba LDR.W R0, [R4,#0x1EC] ; +0xc2, 0x4679be LDR R1, =0x3ECCCCCD ; +0xc6, 0x4679c2 LDR R3, [R0] ; +0xc8, 0x4679c4 LDR R3, [R3,#0x50] ; +0xca, 0x4679c6 BLX R3 ; +0xcc, 0x4679c8 LDR.W R0, [R4,#0x1D0] ; +0xce, 0x4679ca LDR.W R1, [R4,#0x1EC] ; +0xd2, 0x4679ce LDR R3, [R0] ; +0xd6, 0x4679d2 LDR.W R3, [R3,#0xDC] ; +0xd8, 0x4679d4 BLX R3 ; +0xdc, 0x4679d8 LDR.W R8, [R4,#0x1EC] ; +0xde, 0x4679da LDR.W R0, [R4,#0x1E8] ; +0xe2, 0x4679de LDR.W R3, [R8] ; +0xe6, 0x4679e2 LDR.W R9, [R3,#0x5C] ; +0xea, 0x4679e6 LDR R3, [R0] ; +0xee, 0x4679ea LDR R3, [R3,#0x60] ; +0xf0, 0x4679ec BLX R3 ; +0xf2, 0x4679ee MOVS R1, #0; float ; +0xf4, 0x4679f0 LDR R2, flt_467BC0; float ; +0xf6, 0x4679f2 MOV R10, R0 ; +0xf8, 0x4679f4 MOV R0, R5; this ; +0xfa, 0x4679f6 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0xfc, 0x4679f8 MOV R2, R5 ; +0x100, 0x4679fc MOV R0, R6 ; +0x102, 0x4679fe MOV R1, R10 ; +0x104, 0x467a00 BL _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x106, 0x467a02 MOV R0, R8 ; +0x10a, 0x467a06 MOV R1, R6 ; +0x10c, 0x467a08 MOV.W R8, #1 ; +0x10e, 0x467a0a BLX R9 ; +0x112, 0x467a0e LDR R0, =(aRefreshLogin - 0x467A22); "Refresh Login" ; +0x114, 0x467a10 MOVS R1, #dword_A0; char * ; +0x116, 0x467a12 MOVS R2, #0; int ; +0x118, 0x467a14 MOV.W R3, #0x3F800000; int ; +0x11a, 0x467a16 STR.W R8, [SP,#0x5C+var_5C]; float ; +0x11e, 0x467a1a ADD R0, PC; "Refresh Login" ; +0x122, 0x467a1e MOVS R5, #0 ; +0x124, 0x467a20 BL _ZN12ButtonSprite6createEPKciifb; ButtonSprite::create(char const*,int,int,float,bool) ; +0x126, 0x467a22 LDR R3, =(_ZN16AccountHelpLayer9onReLoginEPN7cocos2d8CCObjectE_ptr - 0x467A30) ; +0x12a, 0x467a26 MOV R1, R5 ; +0x12c, 0x467a28 MOV R2, R4 ; +0x12e, 0x467a2a ADD R3, PC; _ZN16AccountHelpLayer9onReLoginEPN7cocos2d8CCObjectE_ptr ; +0x130, 0x467a2c LDR R3, [R3]; AccountHelpLayer::onReLogin(cocos2d::CCObject *) ; +0x132, 0x467a2e STR R5, [SP,#0x5C+var_5C] ; +0x134, 0x467a30 STR R3, [SP,#0x5C+var_20] ; +0x136, 0x467a32 ADD R6, SP, #0x5C+var_30 ; +0x138, 0x467a34 STR R5, [SP,#0x5C+var_1C] ; +0x13a, 0x467a36 BL _ZN21CCMenuItemSpriteExtra6createEPN7cocos2d6CCNodeES2_PNS0_8CCObjectEMS3_FvS4_E; CCMenuItemSpriteExtra::create(cocos2d::CCNode *,cocos2d::CCNode *,cocos2d::CCObject *,void (cocos2d::CCObject::*)(cocos2d::CCObject *)) ; +0x13c, 0x467a38 MOV R1, R0 ; +0x140, 0x467a3c STR.W R0, [R4,#0x1F0] ; +0x142, 0x467a3e LDR.W R0, [R4,#0x1C8] ; +0x146, 0x467a42 LDR R3, [R0] ; +0x14a, 0x467a46 LDR.W R3, [R3,#0xDC] ; +0x14c, 0x467a48 BLX R3 ; +0x150, 0x467a4c LDR R0, =(aManageAccount - 0x467A60); "Manage Account" ; +0x152, 0x467a4e MOV R2, R5; int ; +0x154, 0x467a50 MOVS R1, #dword_A0; char * ; +0x156, 0x467a52 MOV.W R3, #0x3F800000; int ; +0x158, 0x467a54 STR.W R8, [SP,#0x5C+var_5C]; float ; +0x15c, 0x467a58 ADD R0, PC; "Manage Account" ; +0x160, 0x467a5c BL _ZN12ButtonSprite6createEPKciifb; ButtonSprite::create(char const*,int,int,float,bool) ; +0x162, 0x467a5e LDR R3, =(_ZN16AccountHelpLayer19onAccountManagementEPN7cocos2d8CCObjectE_ptr - 0x467A6C) ; +0x166, 0x467a62 MOV R1, R5 ; +0x168, 0x467a64 MOV R2, R4 ; +0x16a, 0x467a66 ADD R3, PC; _ZN16AccountHelpLayer19onAccountManagementEPN7cocos2d8CCObjectE_ptr ; +0x16c, 0x467a68 LDR R3, [R3]; AccountHelpLayer::onAccountManagement(cocos2d::CCObject *) ; +0x16e, 0x467a6a STR R5, [SP,#0x5C+var_5C] ; +0x170, 0x467a6c STR R3, [SP,#0x5C+var_18] ; +0x172, 0x467a6e STR R5, [SP,#0x5C+var_14] ; +0x174, 0x467a70 BL _ZN21CCMenuItemSpriteExtra6createEPN7cocos2d6CCNodeES2_PNS0_8CCObjectEMS3_FvS4_E; CCMenuItemSpriteExtra::create(cocos2d::CCNode *,cocos2d::CCNode *,cocos2d::CCObject *,void (cocos2d::CCObject::*)(cocos2d::CCObject *)) ; +0x176, 0x467a72 MOV R10, R0 ; +0x17a, 0x467a76 LDR.W R0, [R4,#0x1C8] ; +0x17c, 0x467a78 MOV R1, R10 ; +0x180, 0x467a7c LDR R3, [R0] ; +0x182, 0x467a7e LDR.W R3, [R3,#0xDC] ; +0x184, 0x467a80 BLX R3 ; +0x188, 0x467a84 LDR R0, =(aUnlinkAccount - 0x467A98); "Unlink Account" ; +0x18a, 0x467a86 MOV R2, R5; int ; +0x18c, 0x467a88 MOVS R1, #dword_A0; char * ; +0x18e, 0x467a8a MOV.W R3, #0x3F800000; int ; +0x190, 0x467a8c STR.W R8, [SP,#0x5C+var_5C]; float ; +0x194, 0x467a90 ADD R0, PC; "Unlink Account" ; +0x198, 0x467a94 BL _ZN12ButtonSprite6createEPKciifb; ButtonSprite::create(char const*,int,int,float,bool) ; +0x19a, 0x467a96 LDR R3, =(_ZN16AccountHelpLayer8onUnlinkEPN7cocos2d8CCObjectE_ptr - 0x467AA4) ; +0x19e, 0x467a9a MOV R1, R5 ; +0x1a0, 0x467a9c MOV R2, R4 ; +0x1a2, 0x467a9e ADD R3, PC; _ZN16AccountHelpLayer8onUnlinkEPN7cocos2d8CCObjectE_ptr ; +0x1a4, 0x467aa0 LDR R3, [R3]; AccountHelpLayer::onUnlink(cocos2d::CCObject *) ; +0x1a6, 0x467aa2 STR R5, [SP,#0x5C+var_5C] ; +0x1a8, 0x467aa4 STR R3, [SP,#0x5C+var_10] ; +0x1aa, 0x467aa6 STR R5, [SP,#0x5C+var_C] ; +0x1ac, 0x467aa8 BL _ZN21CCMenuItemSpriteExtra6createEPN7cocos2d6CCNodeES2_PNS0_8CCObjectEMS3_FvS4_E; CCMenuItemSpriteExtra::create(cocos2d::CCNode *,cocos2d::CCNode *,cocos2d::CCObject *,void (cocos2d::CCObject::*)(cocos2d::CCObject *)) ; +0x1ae, 0x467aaa ADD R5, SP, #0x5C+var_28 ; +0x1b2, 0x467aae MOV R1, R0 ; +0x1b4, 0x467ab0 STR.W R0, [R4,#0x1F4] ; +0x1b6, 0x467ab2 LDR.W R0, [R4,#0x1C8] ; +0x1ba, 0x467ab6 LDR R3, [R0] ; +0x1be, 0x467aba LDR.W R3, [R3,#0xDC] ; +0x1c0, 0x467abc BLX R3 ; +0x1c4, 0x467ac0 VLDR S15, [SP,#0x5C+var_40] ; +0x1c6, 0x467ac2 LDR.W R9, [R4,#0x1D0] ; +0x1ca, 0x467ac6 MOV R0, R6; this ; +0x1ce, 0x467aca LDR.W R11, [R4,#0x1C8] ; +0x1d0, 0x467acc VLDR S14, [SP,#0x5C+var_3C] ; +0x1d4, 0x467ad0 VMUL.F32 S15, S15, S16 ; +0x1d8, 0x467ad4 VMOV R1, S15; float ; +0x1dc, 0x467ad8 VMOV.F32 S15, #30.0 ; +0x1e0, 0x467adc VMLA.F32 S15, S14, S16 ; +0x1e4, 0x467ae0 VMOV R2, S15; float ; +0x1e8, 0x467ae4 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x1ec, 0x467ae8 MOV R1, R9; cocos2d::CCPoint * ; +0x1f0, 0x467aec ADD.W R9, SP, #0x5C+var_38 ; +0x1f2, 0x467aee MOV R0, R5; this ; +0x1f6, 0x467af2 MOV R2, R6 ; +0x1f8, 0x467af4 BL _ZN7cocos2d6CCNode19convertToWorldSpaceERKNS_7CCPointE; cocos2d::CCNode::convertToWorldSpace(cocos2d::CCPoint const&) ; +0x1fa, 0x467af6 MOV R1, R11; cocos2d::CCPoint * ; +0x1fe, 0x467afa MOV R0, R9; this ; +0x200, 0x467afc MOV R2, R5 ; +0x202, 0x467afe BL _ZN7cocos2d6CCNode18convertToNodeSpaceERKNS_7CCPointE; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const&) ; +0x204, 0x467b00 LDR.W R11, [R4,#0x1F0] ; +0x208, 0x467b04 MOVS R1, #0; float ; +0x20c, 0x467b08 MOV R0, R6; this ; +0x20e, 0x467b0a MOV R2, R1; float ; +0x210, 0x467b0c LDR.W R3, [R11] ; +0x212, 0x467b0e LDR R3, [R3,#0x5C] ; +0x216, 0x467b12 STR R3, [SP,#0x5C+var_48] ; +0x218, 0x467b14 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x21a, 0x467b16 MOV R2, R6 ; +0x21e, 0x467b1a MOV R0, R5 ; +0x220, 0x467b1c MOV R1, R9 ; +0x222, 0x467b1e BL _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x224, 0x467b20 MOV R0, R11 ; +0x228, 0x467b24 MOV R1, R5 ; +0x22a, 0x467b26 LDR R3, [SP,#0x5C+var_48] ; +0x22c, 0x467b28 BLX R3 ; +0x22e, 0x467b2a LDR.W R3, [R10] ; +0x230, 0x467b2c MOVS R1, #0; float ; +0x234, 0x467b30 LDR R2, flt_467BC4; float ; +0x236, 0x467b32 MOV R0, R6; this ; +0x238, 0x467b34 LDR.W R11, [R3,#0x5C] ; +0x23a, 0x467b36 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x23e, 0x467b3a MOV R2, R6 ; +0x242, 0x467b3e MOV R0, R5 ; +0x244, 0x467b40 MOV R1, R9 ; +0x246, 0x467b42 BL _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x248, 0x467b44 MOV R0, R10 ; +0x24c, 0x467b48 MOV R1, R5 ; +0x24e, 0x467b4a BLX R11 ; +0x250, 0x467b4c LDR.W R10, [R4,#0x1F4] ; +0x252, 0x467b4e MOVS R1, #0; float ; +0x256, 0x467b52 LDR R2, flt_467BC8; float ; +0x258, 0x467b54 MOV R0, R6; this ; +0x25a, 0x467b56 LDR.W R3, [R10] ; +0x25c, 0x467b58 LDR.W R11, [R3,#0x5C] ; +0x260, 0x467b5c BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x264, 0x467b60 MOV R2, R6 ; +0x268, 0x467b64 MOV R0, R5 ; +0x26a, 0x467b66 MOV R1, R9 ; +0x26c, 0x467b68 BL _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x26e, 0x467b6a MOV R1, R5 ; +0x272, 0x467b6e MOV R0, R10 ; +0x274, 0x467b70 BLX R11 ; +0x276, 0x467b72 MOV R0, R4; this ; +0x278, 0x467b74 BL _ZN16AccountHelpLayer10updatePageEv; AccountHelpLayer::updatePage(void) ; +0x27a, 0x467b76 BL _ZN16GJAccountManager11sharedStateEv; GJAccountManager::sharedState(void) ; +0x27e, 0x467b7a ADD.W R3, R4, #0x1E0 ; +0x282, 0x467b7e LDR R2, [SP,#0x5C+var_8] ; +0x286, 0x467b82 STR.W R3, [R0,#0x128] ; +0x288, 0x467b84 LDR R3, [R7] ; +0x28c, 0x467b88 STRB.W R8, [R4,#0x1F8] ; +0x28e, 0x467b8a CMP R2, R3 ; +0x292, 0x467b8e BEQ loc_467BA0 ; +0x294, 0x467b90 BLX __stack_chk_fail ; +0x296, 0x467b92 MOV R0, R5 ; +0x29a, 0x467b96 BL sub_774008 ; +0x29c, 0x467b98 BL __cxa_end_cleanup ; +0x2a0, 0x467b9c ADD SP, SP, #0x5C ; '\' ; +0x2a4, 0x467ba0 VPOP {D8} ; +0x2a6, 0x467ba2 POP.W {R4-R11,PC} ; +0x2aa, 0x467ba6