; ; BoomScrollLayer::init from 0x2e2c28 to 0x2e2e0e (486 bytes) ; ; 1 xrefs: ; > BoomScrollLayer::create @ 0x2e2f44 ; ; 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, 0x2e2c28 MOV R9, R3 ; +0x4, 0x2e2c2c VPUSH {D8} ; +0x6, 0x2e2c2e MOV R4, R0 ; +0xa, 0x2e2c32 LDR R6, =(__stack_chk_guard_ptr - 0x2E2C3C) ; +0xc, 0x2e2c34 MOV R10, R1 ; +0xe, 0x2e2c36 ADD R6, PC; __stack_chk_guard_ptr ; +0x10, 0x2e2c38 LDR R6, [R6]; __stack_chk_guard ; +0x12, 0x2e2c3a VMOV S16, R2 ; +0x14, 0x2e2c3c SUB SP, SP, #0x3C ; +0x18, 0x2e2c40 LDR R3, [SP,#0x3C+arg_4] ; +0x1a, 0x2e2c42 LDR.W R8, [SP,#0x3C+arg_0] ; +0x1c, 0x2e2c44 STR R3, [SP,#0x3C+var_34] ; +0x20, 0x2e2c48 LDR R3, [R6] ; +0x22, 0x2e2c4a STR R3, [SP,#0x3C+var_8] ; +0x24, 0x2e2c4c BL _ZN7cocos2d7CCLayer4initEv; cocos2d::CCLayer::init(void) ; +0x26, 0x2e2c4e MOV R7, R0 ; +0x2a, 0x2e2c52 CMP R0, #0 ; +0x2c, 0x2e2c54 BEQ.W loc_2E2DF6 ; +0x2e, 0x2e2c56 BL _ZN13ExtendedLayer6createEv; ExtendedLayer::create(void) ; +0x32, 0x2e2c5a LDR R3, [R4] ; +0x36, 0x2e2c5e MOV.W R11, #1 ; +0x38, 0x2e2c60 ADD R5, SP, #0x3C+var_18 ; +0x3c, 0x2e2c64 MOV R1, R0 ; +0x3e, 0x2e2c66 STR.W R0, [R4,#0x180] ; +0x40, 0x2e2c68 MOV R0, R4 ; +0x44, 0x2e2c6c LDR.W R3, [R3,#0xDC] ; +0x46, 0x2e2c6e BLX R3 ; +0x4a, 0x2e2c72 MOVS R3, #4 ; +0x4c, 0x2e2c74 STR R3, [R4,#0x18] ; +0x4e, 0x2e2c76 MOVS R1, #1 ; +0x50, 0x2e2c78 LDR R3, [R4] ; +0x52, 0x2e2c7a MOV R0, R4 ; +0x54, 0x2e2c7c LDR.W R3, [R3,#0x1EC] ; +0x56, 0x2e2c7e BLX R3 ; +0x5a, 0x2e2c82 LDR R2, =0x42200000 ; +0x5c, 0x2e2c84 STRB.W R11, [R4,#0x1B8] ; +0x5e, 0x2e2c86 STR.W R2, [R4,#0x1AC] ; +0x62, 0x2e2c8a LDR R2, =0x42C80000 ; +0x66, 0x2e2c8e STR.W R2, [R4,#0x1B0] ; +0x68, 0x2e2c90 BL _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x6c, 0x2e2c94 MOV R1, R0 ; +0x70, 0x2e2c98 MOV R0, R5; this ; +0x72, 0x2e2c9a BL _ZN7cocos2d10CCDirector10getWinSizeEv; cocos2d::CCDirector::getWinSize(void) ; +0x74, 0x2e2c9c LDR R2, [SP,#0x3C+var_18] ; +0x78, 0x2e2ca0 LDR R3, [R4] ; +0x7a, 0x2e2ca2 MOV R0, R4 ; +0x7c, 0x2e2ca4 STRB.W R11, [R4,#0x1B9] ; +0x7e, 0x2e2ca6 STR.W R2, [R4,#0x1B4] ; +0x82, 0x2e2caa LDR.W R3, [R3,#0x9C] ; +0x86, 0x2e2cae BLX R3 ; +0x8a, 0x2e2cb2 VMOV.F32 S15, #0.5 ; +0x8c, 0x2e2cb4 LDR R2, flt_2E2E18; float ; +0x90, 0x2e2cb8 VLDR S14, [R0] ; +0x92, 0x2e2cba MOV R0, R5; this ; +0x96, 0x2e2cbe VMUL.F32 S15, S14, S15 ; +0x98, 0x2e2cc0 VMOV R1, S15; float ; +0x9c, 0x2e2cc4 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0xa0, 0x2e2cc8 MOV R1, R5 ; +0xa4, 0x2e2ccc MOV R0, R4 ; +0xa6, 0x2e2cce BL _ZN15BoomScrollLayer25setPagesIndicatorPositionEN7cocos2d7CCPointE; BoomScrollLayer::setPagesIndicatorPosition(cocos2d::CCPoint) ; +0xa8, 0x2e2cd0 MOVS R3, #0x96 ; +0xac, 0x2e2cd4 STRB.W R3, [R4,#0x1C8] ; +0xae, 0x2e2cd6 STRB.W R3, [R4,#0x1C9] ; +0xb2, 0x2e2cda STRB.W R3, [R4,#0x1CA] ; +0xb6, 0x2e2cde MOVS R3, #0xFF ; +0xba, 0x2e2ce2 STRB.W R3, [R4,#0x1CB] ; +0xbc, 0x2e2ce4 STRB.W R3, [R4,#0x1C4] ; +0xc0, 0x2e2ce8 STRB.W R3, [R4,#0x1C5] ; +0xc4, 0x2e2cec STRB.W R3, [R4,#0x1C6] ; +0xc8, 0x2e2cf0 STRB.W R3, [R4,#0x1C7] ; +0xcc, 0x2e2cf4 BL _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0xd0, 0x2e2cf8 MOV R1, R0 ; +0xd4, 0x2e2cfc ADD R0, SP, #0x3C+var_28; this ; +0xd6, 0x2e2cfe BL _ZN7cocos2d10CCDirector10getWinSizeEv; cocos2d::CCDirector::getWinSize(void) ; +0xd8, 0x2e2d00 LDR R3, [SP,#0x3C+var_28] ; +0xdc, 0x2e2d04 STR R3, [SP,#0x3C+var_30] ; +0xde, 0x2e2d06 BL _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0xe0, 0x2e2d08 MOV R1, R0 ; +0xe4, 0x2e2d0c ADD R0, SP, #0x3C+var_20; this ; +0xe6, 0x2e2d0e BL _ZN7cocos2d10CCDirector10getWinSizeEv; cocos2d::CCDirector::getWinSize(void) ; +0xe8, 0x2e2d10 LDR R2, [SP,#0x3C+var_1C] ; +0xec, 0x2e2d14 MOVS R1, #0; float ; +0xee, 0x2e2d16 LDR R3, [SP,#0x3C+var_30]; float ; +0xf0, 0x2e2d18 MOV R0, R5; this ; +0xf2, 0x2e2d1a STR R2, [SP,#0x3C+var_3C]; float ; +0xf4, 0x2e2d1c MOV R2, R1; float ; +0xf6, 0x2e2d1e BL _ZN7cocos2d6CCRectC1Effff; cocos2d::CCRect::CCRect(float,float,float,float) ; +0xf8, 0x2e2d20 MOV R1, R5 ; +0xfc, 0x2e2d24 ADD.W R0, R4, #0x184 ; +0xfe, 0x2e2d26 BL _ZN7cocos2d6CCRectaSERKS0_; cocos2d::CCRect::operator=(cocos2d::CCRect const&) ; +0x102, 0x2e2d2a MOVS R3, #0 ; +0x106, 0x2e2d2e STR.W R3, [R4,#0x1CC] ; +0x108, 0x2e2d30 VCVT.F32.S32 S16, S16 ; +0x10c, 0x2e2d34 LDR R3, =0x3E99999A ; +0x110, 0x2e2d38 MOV R0, R10; this ; +0x112, 0x2e2d3a STR.W R10, [R4,#0x168] ; +0x114, 0x2e2d3c STR.W R3, [R4,#0x194] ; +0x118, 0x2e2d40 LDR R3, =0x3ECCCCCD ; +0x11c, 0x2e2d44 VSTR S16, [R4,#0x1D0] ; +0x11e, 0x2e2d46 STR.W R3, [R4,#0x19C] ; +0x122, 0x2e2d4a LDR R3, =0x3F19999A ; +0x126, 0x2e2d4e STR.W R3, [R4,#0x198] ; +0x128, 0x2e2d50 BL _ZN7cocos2d8CCObject6retainEv; cocos2d::CCObject::retain(void) ; +0x12c, 0x2e2d54 LDR R0, =(aSmalldotPng - 0x2E2D60); "smallDot.png" ; +0x130, 0x2e2d58 MOVS R1, #(dword_1C+1); char * ; +0x132, 0x2e2d5a ADD R0, PC; "smallDot.png" ; +0x134, 0x2e2d5c BL _ZN7cocos2d17CCSpriteBatchNode6createEPKcj; cocos2d::CCSpriteBatchNode::create(char const*,uint) ; +0x136, 0x2e2d5e LDR R3, [R4] ; +0x13a, 0x2e2d62 MOVS R2, #5 ; +0x13c, 0x2e2d64 LDR.W R3, [R3,#0xE0] ; +0x13e, 0x2e2d66 MOV R10, R0 ; +0x142, 0x2e2d6a MOV R0, R4 ; +0x144, 0x2e2d6c MOV R1, R10 ; +0x146, 0x2e2d6e BLX R3 ; +0x148, 0x2e2d70 MOV R0, R4; this ; +0x14a, 0x2e2d72 BL _ZN15BoomScrollLayer11updatePagesEv; BoomScrollLayer::updatePages(void) ; +0x14c, 0x2e2d74 STRB.W R9, [R4,#0x14C] ; +0x150, 0x2e2d78 CMP.W R9, #0 ; +0x154, 0x2e2d7c BEQ loc_2E2D88 ; +0x158, 0x2e2d80 MOV R0, R4; this ; +0x15a, 0x2e2d82 BL _ZN15BoomScrollLayer21repositionPagesLoopedEv; BoomScrollLayer::repositionPagesLooped(void) ; +0x15c, 0x2e2d84 CMP.W R8, #0 ; +0x160, 0x2e2d88 BEQ loc_2E2D98 ; +0x164, 0x2e2d8c MOV R0, R4; int ; +0x166, 0x2e2d8e MOV R1, R8; this ; +0x168, 0x2e2d90 LDR R2, [SP,#0x3C+var_34] ; +0x16a, 0x2e2d92 BL _ZN15BoomScrollLayer21setupDynamicScrollingEPN7cocos2d7CCArrayEP21DynamicScrollDelegate; BoomScrollLayer::setupDynamicScrolling(cocos2d::CCArray *,DynamicScrollDelegate *) ; +0x16c, 0x2e2d94 BL _ZN7cocos2d7CCArray6createEv; cocos2d::CCArray::create(void) ; +0x170, 0x2e2d98 LDR.W R11, =(aSmalldotPng - 0x2E2DA8); "smallDot.png" ; +0x174, 0x2e2d9c MOV.W R8, #0 ; +0x178, 0x2e2da0 ADD R11, PC; "smallDot.png" ; +0x17c, 0x2e2da4 STR.W R0, [R4,#0x13C] ; +0x17e, 0x2e2da6 BL _ZN7cocos2d8CCObject6retainEv; cocos2d::CCObject::retain(void) ; +0x182, 0x2e2daa MOV R0, R4; this ; +0x186, 0x2e2dae BL _ZN15BoomScrollLayer13getTotalPagesEv; BoomScrollLayer::getTotalPages(void) ; +0x188, 0x2e2db0 CMP R8, R0 ; +0x18c, 0x2e2db4 BGE loc_2E2DDE ; +0x18e, 0x2e2db6 MOV R0, R11; this ; +0x190, 0x2e2db8 ADD.W R8, R8, #1 ; +0x192, 0x2e2dba BL _ZN7cocos2d8CCSprite6createEPKc; cocos2d::CCSprite::create(char const*) ; +0x196, 0x2e2dbe LDR.W R3, [R10] ; +0x19a, 0x2e2dc2 LDR.W R3, [R3,#0xDC] ; +0x19e, 0x2e2dc6 MOV R9, R0 ; +0x1a2, 0x2e2dca MOV R0, R10 ; +0x1a4, 0x2e2dcc MOV R1, R9 ; +0x1a6, 0x2e2dce BLX R3 ; +0x1a8, 0x2e2dd0 LDR.W R0, [R4,#0x13C]; this ; +0x1aa, 0x2e2dd2 MOV R1, R9; cocos2d::CCObject * ; +0x1ae, 0x2e2dd6 BL _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x1b0, 0x2e2dd8 B loc_2E2DAE ; +0x1b4, 0x2e2ddc LDR R3, =(_ZN15BoomScrollLayer10updateDotsEf_ptr - 0x2E2DE6) ; +0x1b6, 0x2e2dde MOV R0, R4 ; +0x1b8, 0x2e2de0 ADD R3, PC; _ZN15BoomScrollLayer10updateDotsEf_ptr ; +0x1ba, 0x2e2de2 LDR R3, [R3]; BoomScrollLayer::updateDots(float) ; +0x1bc, 0x2e2de4 STR R3, [SP,#0x3C+var_18] ; +0x1be, 0x2e2de6 MOVS R3, #0 ; +0x1c0, 0x2e2de8 STR R3, [SP,#0x3C+var_14] ; +0x1c2, 0x2e2dea LDR R3, =0x3DCCCCCD ; +0x1c4, 0x2e2dec LDM.W R5, {R1,R2} ; +0x1c6, 0x2e2dee BL _ZN7cocos2d6CCNode8scheduleEMNS_8CCObjectEFvfEf; cocos2d::CCNode::schedule(void (cocos2d::CCObject::*)(float),float) ; +0x1ca, 0x2e2df2 LDR R2, [SP,#0x3C+var_8] ; +0x1ce, 0x2e2df6 MOV R0, R7 ; +0x1d0, 0x2e2df8 LDR R3, [R6] ; +0x1d2, 0x2e2dfa CMP R2, R3 ; +0x1d4, 0x2e2dfc BEQ loc_2E2E04 ; +0x1d6, 0x2e2dfe BLX __stack_chk_fail ; +0x1d8, 0x2e2e00 ADD SP, SP, #0x3C ; '<' ; +0x1dc, 0x2e2e04 VPOP {D8} ; +0x1de, 0x2e2e06 POP.W {R4-R11,PC} ; +0x1e2, 0x2e2e0a