; ; BoomScrollLayer::updatePages from 0x2e1d8c to 0x2e1e58 (204 bytes) ; ; 3 xrefs: ; > BoomScrollLayer::addPage @ 0x2e28cc ; > BoomScrollLayer::removePage @ 0x2e291a ; > BoomScrollLayer::init @ 0x2e2d74 ; ; 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 ; LDR R3, =(__stack_chk_guard_ptr - 0x2E1D96) ; +0x0, 0x2e1d8c PUSH.W {R4-R9,LR} ; +0x2, 0x2e1d8e ADD R3, PC; __stack_chk_guard_ptr ; +0x6, 0x2e1d92 LDR R3, [R3]; __stack_chk_guard ; +0x8, 0x2e1d94 SUB SP, SP, #0x14 ; +0xa, 0x2e1d96 MOV R5, R0 ; +0xc, 0x2e1d98 LDR R2, [R3] ; +0xe, 0x2e1d9a ADD R6, SP, #0x14+var_10 ; +0x10, 0x2e1d9c MOV.W R8, #0 ; +0x12, 0x2e1d9e MOV R7, R3 ; +0x16, 0x2e1da2 STR R2, [SP,#0x14+var_8] ; +0x18, 0x2e1da4 LDR.W R0, [R5,#0x168]; this ; +0x1a, 0x2e1da6 BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x1e, 0x2e1daa CMP R8, R0 ; +0x22, 0x2e1dae BCS loc_2E1E46 ; +0x24, 0x2e1db0 MOV R1, R8; unsigned int ; +0x26, 0x2e1db2 LDR.W R0, [R5,#0x168]; this ; +0x28, 0x2e1db4 BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x2c, 0x2e1db8 MOVS R1, #0; float ; +0x30, 0x2e1dbc MOV R2, R1; float ; +0x32, 0x2e1dbe LDR R3, [R0] ; +0x34, 0x2e1dc0 MOV R4, R0 ; +0x36, 0x2e1dc2 MOV R0, R6; this ; +0x38, 0x2e1dc4 LDR.W R9, [R3,#0x8C] ; +0x3a, 0x2e1dc6 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x3e, 0x2e1dca MOV R1, R6 ; +0x42, 0x2e1dce MOV R0, R4 ; +0x44, 0x2e1dd0 BLX R9 ; +0x46, 0x2e1dd2 LDR R3, [R4] ; +0x48, 0x2e1dd4 LDR.W R9, [R3,#0x98] ; +0x4a, 0x2e1dd6 BL _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x4e, 0x2e1dda MOV R1, R0 ; +0x52, 0x2e1dde MOV R0, R6; this ; +0x54, 0x2e1de0 BL _ZN7cocos2d10CCDirector10getWinSizeEv; cocos2d::CCDirector::getWinSize(void) ; +0x56, 0x2e1de2 MOV R1, R6 ; +0x5a, 0x2e1de6 MOV R0, R4 ; +0x5c, 0x2e1de8 BLX R9 ; +0x5e, 0x2e1dea LDR R3, [R4] ; +0x60, 0x2e1dec MOV R0, R5 ; +0x62, 0x2e1dee LDR.W R9, [R3,#0x5C] ; +0x64, 0x2e1df0 LDR R3, [R5] ; +0x68, 0x2e1df4 LDR.W R3, [R3,#0x9C] ; +0x6a, 0x2e1df6 BLX R3 ; +0x6e, 0x2e1dfa VLDR S14, [R5,#0x1D0] ; +0x70, 0x2e1dfc MOVS R2, #0; float ; +0x74, 0x2e1e00 VLDR S15, [R0] ; +0x76, 0x2e1e02 MOV R0, R6; this ; +0x7a, 0x2e1e06 VSUB.F32 S15, S15, S14 ; +0x7c, 0x2e1e08 VMOV S14, R8 ; +0x80, 0x2e1e0c VCVT.F32.S32 S14, S14 ; +0x84, 0x2e1e10 VMUL.F32 S15, S14, S15 ; +0x88, 0x2e1e14 VMOV R1, S15; float ; +0x8c, 0x2e1e18 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x90, 0x2e1e1c MOV R0, R4 ; +0x94, 0x2e1e20 MOV R1, R6 ; +0x96, 0x2e1e22 BLX R9 ; +0x98, 0x2e1e24 LDR R3, [R4] ; +0x9a, 0x2e1e26 MOV R0, R4 ; +0x9c, 0x2e1e28 LDR.W R3, [R3,#0xF8] ; +0x9e, 0x2e1e2a BLX R3 ; +0xa2, 0x2e1e2e CBNZ R0, loc_2E1E40 ; +0xa4, 0x2e1e30 LDR.W R0, [R5,#0x180] ; +0xa6, 0x2e1e32 MOV R1, R4 ; +0xaa, 0x2e1e36 LDR R3, [R0] ; +0xac, 0x2e1e38 LDR.W R3, [R3,#0xDC] ; +0xae, 0x2e1e3a BLX R3 ; +0xb2, 0x2e1e3e ADD.W R8, R8, #1 ; +0xb4, 0x2e1e40 B loc_2E1DA6 ; +0xb8, 0x2e1e44 LDR R2, [SP,#0x14+var_8] ; +0xba, 0x2e1e46 LDR R3, [R7] ; +0xbc, 0x2e1e48 CMP R2, R3 ; +0xbe, 0x2e1e4a BEQ loc_2E1E52 ; +0xc0, 0x2e1e4c BLX __stack_chk_fail ; +0xc2, 0x2e1e4e ADD SP, SP, #0x14 ; +0xc6, 0x2e1e52 POP.W {R4-R9,PC} ; +0xc8, 0x2e1e54