; ; AchievementsLayer::customSetup from 0x732d30 to 0x732fe4 (692 bytes) ; ; 2 xrefs: ; > @ 0xab4f0 ; > @ 0x142a2b8 ; ; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! ; ; 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 12:52:37 +0000 ; STP X29, X30, [SP,#var_80]! ; +0x0, 0x732d30 MOV X29, SP ; +0x4, 0x732d34 STP X21, X22, [SP,#0x80+var_60] ; +0x8, 0x732d38 ADRP X22, #__stack_chk_guard_ptr@PAGE ; +0xc, 0x732d3c STP X19, X20, [SP,#0x80+var_70] ; +0x10, 0x732d40 MOV X19, X0 ; +0x14, 0x732d44 LDR X0, [X22,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x18, 0x732d48 STP X23, X24, [SP,#0x80+var_50] ; +0x1c, 0x732d4c STP X25, X26, [SP,#0x80+var_40] ; +0x20, 0x732d50 STR D8, [SP,#0x80+var_30] ; +0x24, 0x732d54 LDR X0, [X0]; this ; +0x28, 0x732d58 STR X0, [X29,#0x80+var_8] ; +0x2c, 0x732d5c BL _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x30, 0x732d60 ADD X8, X29, #0x80+var_20 ; +0x34, 0x732d64 BL _ZN7cocos2d10CCDirector10getWinSizeEv; cocos2d::CCDirector::getWinSize(void) ; +0x38, 0x732d68 BL _ZN15PlatformToolbox21isControllerConnectedEv; PlatformToolbox::isControllerConnected(void) ; +0x3c, 0x732d6c UXTB W24, W0 ; +0x40, 0x732d70 BL _ZN7cocos2d6CCMenu6createEv; cocos2d::CCMenu::create(void) ; +0x44, 0x732d74 MOV X21, X0 ; +0x48, 0x732d78 FMOV S8, #0.5 ; +0x4c, 0x732d7c LDR S0, [X29,#0x80+var_1C] ; +0x50, 0x732d80 FMUL S8, S0, S8 ; +0x54, 0x732d84 CBNZ W24, loc_732FB8 ; +0x58, 0x732d88 ADRL X0, aGjArrow01001Pn; "GJ_arrow_01_001.png" ; +0x5c, 0x732d8c BL _ZN7cocos2d8CCSprite25createWithSpriteFrameNameEPKc; cocos2d::CCSprite::createWithSpriteFrameName(char const*) ; +0x64, 0x732d94 ADD X23, X29, #0x80+var_18 ; +0x68, 0x732d98 ADRP X3, #_ZN17AchievementsLayer10onPrevPageEPN7cocos2d8CCObjectE_ptr@PAGE ; +0x6c, 0x732d9c MOV X4, #0 ; +0x70, 0x732da0 MOV X2, X19 ; +0x74, 0x732da4 MOV X1, #0 ; +0x78, 0x732da8 ADD X20, X29, #0x80+var_10 ; +0x7c, 0x732dac LDR X3, [X3,#_ZN17AchievementsLayer10onPrevPageEPN7cocos2d8CCObjectE_ptr@PAGEOFF]; AchievementsLayer::onPrevPage(cocos2d::CCObject *) ... ; +0x80, 0x732db0 BL _ZN21CCMenuItemSpriteExtra6createEPN7cocos2d6CCNodeES2_PNS0_8CCObjectEMS3_FvS4_E; CCMenuItemSpriteExtra::create(cocos2d::CCNode *,cocos2d::CCNode *,cocos2d::CCObject *,void (cocos2d::CCObject::*)(cocos2d::CCObject *)) ; +0x84, 0x732db4 STR X0, [X19,#0x268] ; +0x88, 0x732db8 MOV X1, X0 ; +0x8c, 0x732dbc MOV X0, X21 ; +0x90, 0x732dc0 LDR X2, [X21] ; +0x94, 0x732dc4 LDR X2, [X2,#0x1C8] ; +0x98, 0x732dc8 BLR X2 ; +0x9c, 0x732dcc LDR X25, [X19,#0x268] ; +0xa0, 0x732dd0 LDR X0, [X25]; this ; +0xa4, 0x732dd4 LDR X26, [X0,#0xB8] ; +0xa8, 0x732dd8 BL _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0xac, 0x732ddc BL _ZN7cocos2d10CCDirector13getScreenLeftEv; cocos2d::CCDirector::getScreenLeft(void) ; +0xb0, 0x732de0 FMOV S2, #24.0 ; +0xb4, 0x732de4 MOV X0, X23; this ; +0xb8, 0x732de8 FMOV S1, S8; float ; +0xbc, 0x732dec FADD S0, S0, S2; float ; +0xc0, 0x732df0 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0xc4, 0x732df4 MOV X0, X21; this ; +0xc8, 0x732df8 MOV X1, X23; cocos2d::CCPoint * ; +0xcc, 0x732dfc MOV X8, X20 ; +0xd0, 0x732e00 BL _ZN7cocos2d6CCNode18convertToNodeSpaceERKNS_7CCPointE; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const&) ; +0xd4, 0x732e04 MOV X0, X25 ; +0xd8, 0x732e08 MOV X1, X20 ; +0xdc, 0x732e0c BLR X26 ; +0xe0, 0x732e10 CBZ W24, loc_732FC4 ; +0xe4, 0x732e14 ADRL X0, aControllerbtnD_0; "controllerBtn_DPad_Right_001.png" ; +0xe8, 0x732e18 BL _ZN7cocos2d8CCSprite25createWithSpriteFrameNameEPKc; cocos2d::CCSprite::createWithSpriteFrameName(char const*) ; +0xf0, 0x732e20 MOV X25, X0 ; +0xf4, 0x732e24 ADRP X3, #_ZN17AchievementsLayer10onNextPageEPN7cocos2d8CCObjectE_ptr@PAGE ; +0xf8, 0x732e28 MOV X4, #0 ; +0xfc, 0x732e2c MOV X2, X19 ; +0x100, 0x732e30 MOV X1, #0 ; +0x104, 0x732e34 MOV X0, X25 ; +0x108, 0x732e38 LDR X3, [X3,#_ZN17AchievementsLayer10onNextPageEPN7cocos2d8CCObjectE_ptr@PAGEOFF]; AchievementsLayer::onNextPage(cocos2d::CCObject *) ... ; +0x10c, 0x732e3c BL _ZN21CCMenuItemSpriteExtra6createEPN7cocos2d6CCNodeES2_PNS0_8CCObjectEMS3_FvS4_E; CCMenuItemSpriteExtra::create(cocos2d::CCNode *,cocos2d::CCNode *,cocos2d::CCObject *,void (cocos2d::CCObject::*)(cocos2d::CCObject *)) ; +0x110, 0x732e40 STR X0, [X19,#0x260] ; +0x114, 0x732e44 MOV X1, X0 ; +0x118, 0x732e48 MOV X0, X21 ; +0x11c, 0x732e4c LDR X2, [X21] ; +0x120, 0x732e50 LDR X2, [X2,#0x1C8] ; +0x124, 0x732e54 BLR X2 ; +0x128, 0x732e58 LDR X25, [X19,#0x260] ; +0x12c, 0x732e5c LDR X0, [X25]; this ; +0x130, 0x732e60 LDR X26, [X0,#0xB8] ; +0x134, 0x732e64 BL _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x138, 0x732e68 BL _ZN7cocos2d10CCDirector14getScreenRightEv; cocos2d::CCDirector::getScreenRight(void) ; +0x13c, 0x732e6c FMOV S2, #24.0 ; +0x140, 0x732e70 MOV X0, X23; this ; +0x144, 0x732e74 FMOV S1, S8; float ; +0x148, 0x732e78 FSUB S0, S0, S2; float ; +0x14c, 0x732e7c BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x150, 0x732e80 MOV X8, X20 ; +0x154, 0x732e84 MOV X0, X21; this ; +0x158, 0x732e88 MOV X1, X23; cocos2d::CCPoint * ; +0x15c, 0x732e8c BL _ZN7cocos2d6CCNode18convertToNodeSpaceERKNS_7CCPointE; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const&) ; +0x160, 0x732e90 MOV X0, X25 ; +0x164, 0x732e94 MOV X1, X20 ; +0x168, 0x732e98 BLR X26 ; +0x16c, 0x732e9c LDR X3, [X19,#0x240] ; +0x170, 0x732ea0 MOV W2, #0xA ; +0x174, 0x732ea4 MOV X1, X21 ; +0x178, 0x732ea8 MOV X0, X3 ; +0x17c, 0x732eac LDR X3, [X3] ; +0x180, 0x732eb0 LDR X3, [X3,#0x1D0] ; +0x184, 0x732eb4 BLR X3 ; +0x188, 0x732eb8 ADRP X0, #byte_11E1A70@PAGE ; +0x18c, 0x732ebc ADRL X1, aGoldfontFnt; "goldFont.fnt" ; +0x190, 0x732ec0 ADD X0, X0, #byte_11E1A70@PAGEOFF; this ; +0x198, 0x732ec8 BL _ZN7cocos2d13CCLabelBMFont6createEPKcS2_; cocos2d::CCLabelBMFont::create(char const*,char const*) ; +0x19c, 0x732ecc STR X0, [X19,#0x270] ; +0x1a0, 0x732ed0 LDR X2, [X19,#0x240] ; +0x1a4, 0x732ed4 MOV X1, X0 ; +0x1a8, 0x732ed8 MOV X0, X2 ; +0x1ac, 0x732edc LDR X2, [X2] ; +0x1b0, 0x732ee0 LDR X2, [X2,#0x1C8] ; +0x1b4, 0x732ee4 BLR X2 ; +0x1b8, 0x732ee8 LDR X21, [X19,#0x270] ; +0x1bc, 0x732eec LDR X0, [X21]; this ; +0x1c0, 0x732ef0 LDR X23, [X0,#0xB8] ; +0x1c4, 0x732ef4 BL _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x1c8, 0x732ef8 BL _ZN7cocos2d10CCDirector14getScreenRightEv; cocos2d::CCDirector::getScreenRight(void) ; +0x1cc, 0x732efc FMOV S8, S0 ; +0x1d0, 0x732f00 BL _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x1d4, 0x732f04 BL _ZN7cocos2d10CCDirector12getScreenTopEv; cocos2d::CCDirector::getScreenTop(void) ; +0x1d8, 0x732f08 FMOV S1, #4.0 ; +0x1dc, 0x732f0c MOV X0, X20; this ; +0x1e0, 0x732f10 FSUB S1, S0, S1; float ; +0x1e4, 0x732f14 FMOV S0, #7.0 ; +0x1e8, 0x732f18 FSUB S0, S8, S0; float ; +0x1ec, 0x732f1c BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x1f0, 0x732f20 MOV X0, X21 ; +0x1f4, 0x732f24 MOV X1, X20 ; +0x1f8, 0x732f28 BLR X23 ; +0x1fc, 0x732f2c LDR X21, [X19,#0x270] ; +0x200, 0x732f30 FMOV S0, #1.0; float ; +0x204, 0x732f34 MOV X0, X20; this ; +0x208, 0x732f38 FMOV S1, S0; float ; +0x20c, 0x732f3c LDR X1, [X21] ; +0x210, 0x732f40 LDR X23, [X1,#0x128] ; +0x214, 0x732f44 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x218, 0x732f48 MOV X0, X21 ; +0x21c, 0x732f4c MOV X1, X20 ; +0x220, 0x732f50 BLR X23 ; +0x224, 0x732f54 LDR X1, [X19,#0x270] ; +0x228, 0x732f58 LDR S0, =0x3F19999A ; +0x22c, 0x732f5c MOV X0, X1 ; +0x230, 0x732f60 LDR X1, [X1] ; +0x234, 0x732f64 LDR X1, [X1,#0xA0] ; +0x238, 0x732f68 BLR X1 ; +0x23c, 0x732f6c MOV X0, X19; this ; +0x240, 0x732f70 MOV W1, #0; int ; +0x244, 0x732f74 BL _ZN17AchievementsLayer8loadPageEi; AchievementsLayer::loadPage(int) ; +0x248, 0x732f78 CBZ W24, loc_732F88 ; +0x24c, 0x732f7c LDR X0, [X19,#0x240]; this ; +0x250, 0x732f80 BL _ZN11GameToolbox21addRThumbScrollButtonEPN7cocos2d7CCLayerE; GameToolbox::addRThumbScrollButton(cocos2d::CCLayer *) ; +0x254, 0x732f84 LDR X22, [X22,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x258, 0x732f88 LDR X1, [X29,#0x80+var_8] ; +0x25c, 0x732f8c LDR X0, [X22] ; +0x260, 0x732f90 CMP X1, X0 ; +0x264, 0x732f94 B.NE loc_732FE0 ; +0x268, 0x732f98 LDP X19, X20, [SP,#0x80+var_70] ; +0x26c, 0x732f9c LDP X21, X22, [SP,#0x80+var_60] ; +0x270, 0x732fa0 LDP X23, X24, [SP,#0x80+var_50] ; +0x274, 0x732fa4 LDP X25, X26, [SP,#0x80+var_40] ; +0x278, 0x732fa8 LDR D8, [SP,#0x80+var_30] ; +0x27c, 0x732fac LDP X29, X30, [SP+0x80+var_80],#0x80 ; +0x280, 0x732fb0 RET ; +0x284, 0x732fb4 ADRL X0, aControllerbtnD_1; "controllerBtn_DPad_Left_001.png" ; +0x288, 0x732fb8 B loc_732D94 ; +0x290, 0x732fc0 ADRL X0, aGjArrow01001Pn; "GJ_arrow_01_001.png" ; +0x294, 0x732fc4 BL _ZN7cocos2d8CCSprite25createWithSpriteFrameNameEPKc; cocos2d::CCSprite::createWithSpriteFrameName(char const*) ; +0x29c, 0x732fcc MOV X25, X0 ; +0x2a0, 0x732fd0 MOV W1, #1; bool ; +0x2a4, 0x732fd4 BL _ZN7cocos2d8CCSprite8setFlipXEb; cocos2d::CCSprite::setFlipX(bool) ; +0x2a8, 0x732fd8 B loc_732E28 ; +0x2ac, 0x732fdc BL .__stack_chk_fail ; +0x2b0, 0x732fe0