; ; BoomScrollLayer::updatePages from 0x689550 to 0x68969c (332 bytes) ; ; 4 xrefs: ; > BoomScrollLayer::addPage @ 0x68a608 ; > BoomScrollLayer::removePage @ 0x68a690 ; > BoomScrollLayer::init @ 0x68ad20 ; > @ 0x80a10 ; ; 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_50]! ; +0x0, 0x689550 MOV X29, SP ; +0x4, 0x689554 STP X23, X24, [SP,#0x50+var_20] ; +0x8, 0x689558 ADRP X23, #__stack_chk_guard_ptr@PAGE ; +0xc, 0x68955c STP X21, X22, [SP,#0x50+var_30] ; +0x10, 0x689560 MOV X21, X0 ; +0x14, 0x689564 MOV W22, #0 ; +0x18, 0x689568 LDR X0, [X23,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x1c, 0x68956c STP X19, X20, [SP,#0x50+var_40] ; +0x20, 0x689570 ADD X20, X29, #0x50+var_10 ; +0x24, 0x689574 LDR X0, [X0] ; +0x28, 0x689578 STR X0, [X29,#0x50+var_8] ; +0x2c, 0x68957c LDR X0, [X21,#0x1E0]; this ; +0x30, 0x689580 BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x34, 0x689584 CMP W22, W0 ; +0x38, 0x689588 B.CS loc_689650 ; +0x3c, 0x68958c LDR X0, [X21,#0x1E0]; this ; +0x40, 0x689590 MOV W1, W22; unsigned int ; +0x44, 0x689594 BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x48, 0x689598 MOV X19, X0 ; +0x4c, 0x68959c FMOV S0, WZR; float ; +0x50, 0x6895a0 MOV X0, X20; this ; +0x54, 0x6895a4 LDR X1, [X19] ; +0x58, 0x6895a8 FMOV S1, S0; float ; +0x5c, 0x6895ac LDR X24, [X1,#0x128] ; +0x60, 0x6895b0 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x64, 0x6895b4 MOV X1, X20 ; +0x68, 0x6895b8 MOV X0, X19 ; +0x6c, 0x6895bc BLR X24 ; +0x70, 0x6895c0 LDR X0, [X19]; this ; +0x74, 0x6895c4 LDR X24, [X0,#0x140] ; +0x78, 0x6895c8 BL _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x7c, 0x6895cc MOV X8, X20 ; +0x80, 0x6895d0 BL _ZN7cocos2d10CCDirector10getWinSizeEv; cocos2d::CCDirector::getWinSize(void) ; +0x84, 0x6895d4 MOV X0, X19 ; +0x88, 0x6895d8 MOV X1, X20 ; +0x8c, 0x6895dc BLR X24 ; +0x90, 0x6895e0 LDR X1, [X21] ; +0x94, 0x6895e4 MOV X0, X21 ; +0x98, 0x6895e8 LDR X2, [X19] ; +0x9c, 0x6895ec LDR X1, [X1,#0x148] ; +0xa0, 0x6895f0 LDR X24, [X2,#0xB8] ; +0xa4, 0x6895f4 BLR X1 ; +0xa8, 0x6895f8 LDR S1, [X21,#0x250] ; +0xac, 0x6895fc LDR S2, [X0] ; +0xb0, 0x689600 MOV X0, X20; this ; +0xb4, 0x689604 SCVTF S0, W22 ; +0xb8, 0x689608 FSUB S2, S2, S1 ; +0xbc, 0x68960c FMOV S1, WZR; float ; +0xc0, 0x689610 FMUL S0, S0, S2; float ; +0xc4, 0x689614 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0xc8, 0x689618 MOV X0, X19 ; +0xcc, 0x68961c MOV X1, X20 ; +0xd0, 0x689620 BLR X24 ; +0xd4, 0x689624 LDR X1, [X19] ; +0xd8, 0x689628 MOV X0, X19 ; +0xdc, 0x68962c LDR X1, [X1,#0x200] ; +0xe0, 0x689630 BLR X1 ; +0xe4, 0x689634 CBZ X0, loc_689678 ; +0xe8, 0x689638 ADD W22, W22, #1 ; +0xec, 0x68963c LDR X0, [X21,#0x1E0]; this ; +0xf0, 0x689640 BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0xf4, 0x689644 CMP W22, W0 ; +0xf8, 0x689648 B.CC loc_689590 ; +0xfc, 0x68964c LDR X23, [X23,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x100, 0x689650 LDR X1, [X29,#0x50+var_8] ; +0x104, 0x689654 LDR X0, [X23] ; +0x108, 0x689658 CMP X1, X0 ; +0x10c, 0x68965c B.NE loc_689698 ; +0x110, 0x689660 LDP X19, X20, [SP,#0x50+var_40] ; +0x114, 0x689664 LDP X21, X22, [SP,#0x50+var_30] ; +0x118, 0x689668 LDP X23, X24, [SP,#0x50+var_20] ; +0x11c, 0x68966c LDP X29, X30, [SP+0x50+var_50],#0x50 ; +0x120, 0x689670 RET ; +0x124, 0x689674 LDR X2, [X21,#0x1F8] ; +0x128, 0x689678 MOV X1, X19 ; +0x12c, 0x68967c ADD W22, W22, #1 ; +0x130, 0x689680 MOV X0, X2 ; +0x134, 0x689684 LDR X2, [X2] ; +0x138, 0x689688 LDR X2, [X2,#0x1C8] ; +0x13c, 0x68968c BLR X2 ; +0x140, 0x689690 B loc_689640 ; +0x144, 0x689694 BL .__stack_chk_fail ; +0x148, 0x689698