; ; BoomScrollLayer::repositionPagesLooped from 0x689d88 to 0x68a054 (716 bytes) ; ; 4 xrefs: ; > BoomScrollLayer::instantMoveToPage @ 0x68a110 ; > BoomScrollLayer::moveToPage @ 0x68a27c ; > BoomScrollLayer::init @ 0x68adc0 ; > @ 0x55900 ; ; 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:50:32 +0000 ; STP X29, X30, [SP,#var_80]! ; +0x0, 0x689d88 MOV X29, SP ; +0x4, 0x689d8c STP X21, X22, [SP,#0x80+var_60] ; +0x8, 0x689d90 ADRP X21, #__stack_chk_guard_ptr@PAGE ; +0xc, 0x689d94 STP X19, X20, [SP,#0x80+var_70] ; +0x10, 0x689d98 STP X23, X24, [SP,#0x80+var_50] ; +0x14, 0x689d9c LDR X2, [X21,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x18, 0x689da0 MOV X19, X0 ; +0x1c, 0x689da4 STP X25, X26, [SP,#0x80+var_40] ; +0x20, 0x689da8 STP X27, X28, [SP,#0x80+var_30] ; +0x24, 0x689dac LDR X2, [X2] ; +0x28, 0x689db0 LDR W1, [X0,#0x24C]; int ; +0x2c, 0x689db4 STR X2, [X29,#0x80+var_8] ; +0x30, 0x689db8 BL _ZN15BoomScrollLayer21getRelativePageForNumEi; BoomScrollLayer::getRelativePageForNum(int) ; +0x34, 0x689dbc STR W0, [X29,#0x80+var_14] ; +0x38, 0x689dc0 LDR W1, [X19,#0x24C] ; +0x3c, 0x689dc4 MOV X0, X19; this ; +0x40, 0x689dc8 SUB W1, W1, #1; int ; +0x44, 0x689dcc BL _ZN15BoomScrollLayer21getRelativePageForNumEi; BoomScrollLayer::getRelativePageForNum(int) ; +0x48, 0x689dd0 MOV W25, W0 ; +0x4c, 0x689dd4 LDR W1, [X19,#0x24C] ; +0x50, 0x689dd8 MOV X0, X19; this ; +0x54, 0x689ddc ADD W1, W1, #1; int ; +0x58, 0x689de0 BL _ZN15BoomScrollLayer21getRelativePageForNumEi; BoomScrollLayer::getRelativePageForNum(int) ; +0x5c, 0x689de4 MOV W24, W0 ; +0x60, 0x689de8 LDRB W0, [X19,#0x1C8] ; +0x64, 0x689dec CBNZ W0, loc_68A008 ; +0x68, 0x689df0 MOV W22, W24 ; +0x6c, 0x689df4 MOV W23, W25 ; +0x70, 0x689df8 ADD X27, X29, #0x80+var_10 ; +0x74, 0x689dfc MOV W1, W23; int ; +0x78, 0x689e00 MOV X0, X19; this ; +0x7c, 0x689e04 MOV W20, #0 ; +0x80, 0x689e08 BL _ZN15BoomScrollLayer7getPageEi; BoomScrollLayer::getPage(int) ; +0x84, 0x689e0c MOV X28, X0 ; +0x88, 0x689e10 LDR W1, [X19,#0x24C] ; +0x8c, 0x689e14 MOV X8, X27 ; +0x90, 0x689e18 MOV X0, X19; this ; +0x94, 0x689e1c LDR X2, [X28] ; +0x98, 0x689e20 SUB W1, W1, #1; int ; +0x9c, 0x689e24 LDR X26, [X2,#0xB8] ; +0xa0, 0x689e28 BL _ZN15BoomScrollLayer21getRelativePosForPageEi; BoomScrollLayer::getRelativePosForPage(int) ; +0xa4, 0x689e2c MOV X0, X28 ; +0xa8, 0x689e30 MOV X1, X27 ; +0xac, 0x689e34 BLR X26 ; +0xb0, 0x689e38 MOV W1, W22; int ; +0xb4, 0x689e3c MOV X0, X19; this ; +0xb8, 0x689e40 BL _ZN15BoomScrollLayer7getPageEi; BoomScrollLayer::getPage(int) ; +0xbc, 0x689e44 MOV X28, X0 ; +0xc0, 0x689e48 LDR W1, [X19,#0x24C] ; +0xc4, 0x689e4c MOV X0, X19; this ; +0xc8, 0x689e50 MOV X8, X27 ; +0xcc, 0x689e54 LDR X2, [X28] ; +0xd0, 0x689e58 ADD W1, W1, #1; int ; +0xd4, 0x689e5c LDR X26, [X2,#0xB8] ; +0xd8, 0x689e60 BL _ZN15BoomScrollLayer21getRelativePosForPageEi; BoomScrollLayer::getRelativePosForPage(int) ; +0xdc, 0x689e64 MOV X0, X28 ; +0xe0, 0x689e68 MOV X1, X27 ; +0xe4, 0x689e6c BLR X26 ; +0xe8, 0x689e70 B loc_689E98 ; +0xec, 0x689e74 LDR X0, [X19,#0x1E0]; this ; +0xf0, 0x689e78 MOV W1, W20; unsigned int ; +0xf4, 0x689e7c ADD W20, W20, #1 ; +0xf8, 0x689e80 BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0xfc, 0x689e84 LDR X2, [X0] ; +0x100, 0x689e88 MOV W1, #0 ; +0x104, 0x689e8c LDR X2, [X2,#0x158] ; +0x108, 0x689e90 BLR X2 ; +0x10c, 0x689e94 LDR X0, [X19,#0x1E0]; this ; +0x110, 0x689e98 BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x114, 0x689e9c CMP W20, W0 ; +0x118, 0x689ea0 B.CC loc_689E78 ; +0x11c, 0x689ea4 LDRB W0, [X19,#0x1C8] ; +0x120, 0x689ea8 CBNZ W0, loc_689F54 ; +0x124, 0x689eac LDR W1, [X29,#0x80+var_14]; int ; +0x128, 0x689eb0 MOV X0, X19; this ; +0x12c, 0x689eb4 BL _ZN15BoomScrollLayer7getPageEi; BoomScrollLayer::getPage(int) ; +0x130, 0x689eb8 MOV X27, X0 ; +0x134, 0x689ebc MOV W1, W23; int ; +0x138, 0x689ec0 MOV X0, X19; this ; +0x13c, 0x689ec4 BL _ZN15BoomScrollLayer7getPageEi; BoomScrollLayer::getPage(int) ; +0x140, 0x689ec8 MOV X23, X0 ; +0x144, 0x689ecc MOV W1, W22; int ; +0x148, 0x689ed0 MOV X0, X19; this ; +0x14c, 0x689ed4 BL _ZN15BoomScrollLayer7getPageEi; BoomScrollLayer::getPage(int) ; +0x150, 0x689ed8 MOV X20, X0 ; +0x154, 0x689edc LDR X2, [X27] ; +0x158, 0x689ee0 MOV X0, X27 ; +0x15c, 0x689ee4 MOV W1, #1 ; +0x160, 0x689ee8 LDR X2, [X2,#0x158] ; +0x164, 0x689eec BLR X2 ; +0x168, 0x689ef0 LDR X2, [X23] ; +0x16c, 0x689ef4 MOV X0, X23 ; +0x170, 0x689ef8 LDRB W1, [X19,#0x229] ; +0x174, 0x689efc LDR X2, [X2,#0x158] ; +0x178, 0x689f00 EOR W1, W1, #1 ; +0x17c, 0x689f04 BLR X2 ; +0x180, 0x689f08 LDR X2, [X20] ; +0x184, 0x689f0c MOV X0, X20 ; +0x188, 0x689f10 LDRB W1, [X19,#0x229] ; +0x18c, 0x689f14 LDR X2, [X2,#0x158] ; +0x190, 0x689f18 EOR W1, W1, #1 ; +0x194, 0x689f1c BLR X2 ; +0x198, 0x689f20 LDR X21, [X21,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x19c, 0x689f24 LDR X1, [X29,#0x80+var_8] ; +0x1a0, 0x689f28 LDR X0, [X21] ; +0x1a4, 0x689f2c CMP X1, X0 ; +0x1a8, 0x689f30 B.NE loc_68A050 ; +0x1ac, 0x689f34 LDP X19, X20, [SP,#0x80+var_70] ; +0x1b0, 0x689f38 LDP X21, X22, [SP,#0x80+var_60] ; +0x1b4, 0x689f3c LDP X23, X24, [SP,#0x80+var_50] ; +0x1b8, 0x689f40 LDP X25, X26, [SP,#0x80+var_40] ; +0x1bc, 0x689f44 LDP X27, X28, [SP,#0x80+var_30] ; +0x1c0, 0x689f48 LDP X29, X30, [SP+0x80+var_80],#0x80 ; +0x1c4, 0x689f4c RET ; +0x1c8, 0x689f50 LDR W1, [X19,#0x24C]; int ; +0x1cc, 0x689f54 MOV X0, X19; this ; +0x1d0, 0x689f58 BL _ZN15BoomScrollLayer7getPageEi; BoomScrollLayer::getPage(int) ; +0x1d4, 0x689f5c MOV X27, X0 ; +0x1d8, 0x689f60 LDR W1, [X19,#0x24C] ; +0x1dc, 0x689f64 MOV X0, X19; this ; +0x1e0, 0x689f68 SUB W1, W1, #1; int ; +0x1e4, 0x689f6c BL _ZN15BoomScrollLayer7getPageEi; BoomScrollLayer::getPage(int) ; +0x1e8, 0x689f70 MOV X23, X0 ; +0x1ec, 0x689f74 LDR W1, [X19,#0x24C] ; +0x1f0, 0x689f78 MOV X0, X19; this ; +0x1f4, 0x689f7c ADD W1, W1, #1; int ; +0x1f8, 0x689f80 BL _ZN15BoomScrollLayer7getPageEi; BoomScrollLayer::getPage(int) ; +0x1fc, 0x689f84 LDR X22, [X19,#0x1B8] ; +0x200, 0x689f88 MOV X20, X0 ; +0x204, 0x689f8c LDR W1, [X29,#0x80+var_14]; unsigned int ; +0x208, 0x689f90 LDR X0, [X19,#0x1C0]; this ; +0x20c, 0x689f94 LDR X2, [X22] ; +0x210, 0x689f98 LDR X26, [X2] ; +0x214, 0x689f9c BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x218, 0x689fa0 MOV X1, X27 ; +0x21c, 0x689fa4 MOV X2, X0 ; +0x220, 0x689fa8 MOV X0, X22 ; +0x224, 0x689fac BLR X26 ; +0x228, 0x689fb0 LDR X22, [X19,#0x1B8] ; +0x22c, 0x689fb4 LDR X0, [X19,#0x1C0]; this ; +0x230, 0x689fb8 MOV W1, W25; unsigned int ; +0x234, 0x689fbc LDR X2, [X22] ; +0x238, 0x689fc0 LDR X25, [X2] ; +0x23c, 0x689fc4 BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x240, 0x689fc8 MOV X1, X23 ; +0x244, 0x689fcc MOV X2, X0 ; +0x248, 0x689fd0 MOV X0, X22 ; +0x24c, 0x689fd4 BLR X25 ; +0x250, 0x689fd8 LDR X22, [X19,#0x1B8] ; +0x254, 0x689fdc LDR X0, [X19,#0x1C0]; this ; +0x258, 0x689fe0 MOV W1, W24; unsigned int ; +0x25c, 0x689fe4 LDR X2, [X22] ; +0x260, 0x689fe8 LDR X24, [X2] ; +0x264, 0x689fec BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x268, 0x689ff0 MOV X1, X20 ; +0x26c, 0x689ff4 MOV X2, X0 ; +0x270, 0x689ff8 MOV X0, X22 ; +0x274, 0x689ffc BLR X24 ; +0x278, 0x68a000 B loc_689EE0 ; +0x27c, 0x68a004 LDR W1, [X19,#0x24C]; int ; +0x280, 0x68a008 MOV X0, X19; this ; +0x284, 0x68a00c ADD X27, X29, #0x80+var_10 ; +0x288, 0x68a010 BL _ZN15BoomScrollLayer7getPageEi; BoomScrollLayer::getPage(int) ; +0x28c, 0x68a014 MOV X20, X0 ; +0x290, 0x68a018 LDR W1, [X19,#0x24C]; int ; +0x294, 0x68a01c MOV X8, X27 ; +0x298, 0x68a020 MOV X0, X19; this ; +0x29c, 0x68a024 LDR X2, [X20] ; +0x2a0, 0x68a028 LDR X22, [X2,#0xB8] ; +0x2a4, 0x68a02c BL _ZN15BoomScrollLayer21getRelativePosForPageEi; BoomScrollLayer::getRelativePosForPage(int) ; +0x2a8, 0x68a030 MOV X0, X20 ; +0x2ac, 0x68a034 MOV X1, X27 ; +0x2b0, 0x68a038 BLR X22 ; +0x2b4, 0x68a03c LDR W22, [X19,#0x24C] ; +0x2b8, 0x68a040 SUB W23, W22, #1 ; +0x2bc, 0x68a044 ADD W22, W22, #1 ; +0x2c0, 0x68a048 B loc_689E00 ; +0x2c4, 0x68a04c BL .__stack_chk_fail ; +0x2c8, 0x68a050