; ; BoomScrollLayer::updateDots from 0x56d6e0 to 0x56d8a0 (448 bytes) ; ; 5 xrefs: ; > BoomScrollLayer::setPagesIndicatorPosition @ 0x56d8c8 ; > BoomScrollLayer::moveToPageEnded @ 0x56d964 ; > @ 0x97ed8 ; > BoomScrollLayer::init @ 0x56ec24 ; > @ 0x122d320 ; ; 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 ; STP X29, X30, [SP,#var_90]! ; +0x0, 0x56d6e0 MOV X29, SP ; +0x4, 0x56d6e4 STP X25, X26, [SP,#0x90+var_50] ; +0x8, 0x56d6e8 STP D8, D9, [SP,#0x90+var_30] ; +0xc, 0x56d6ec ADRP X25, #__stack_chk_guard_ptr@PAGE ; +0x10, 0x56d6f0 STP D10, D11, [SP,#0x90+var_20] ; +0x14, 0x56d6f4 LDR X1, [X0,#0x198] ; +0x18, 0x56d6f8 STP X19, X20, [SP,#0x90+var_80] ; +0x1c, 0x56d6fc LDR X2, [X25,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x20, 0x56d700 MOV X20, X0 ; +0x24, 0x56d704 STP X21, X22, [SP,#0x90+var_70] ; +0x28, 0x56d708 STP X23, X24, [SP,#0x90+var_60] ; +0x2c, 0x56d70c LDR X2, [X2] ; +0x30, 0x56d710 STP X27, X28, [SP,#0x90+var_40] ; +0x34, 0x56d714 STR X2, [X29,#0x90+var_8] ; +0x38, 0x56d718 CBZ X1, loc_56D840 ; +0x3c, 0x56d71c BL _ZN15BoomScrollLayer13getTotalPagesEv; BoomScrollLayer::getTotalPages(void) ; +0x40, 0x56d720 MOV W22, W0 ; +0x44, 0x56d724 LDR X1, [X20,#0x1F0] ; +0x48, 0x56d728 ADD X23, X29, #0x90+var_10 ; +0x4c, 0x56d72c LDR S10, [X20,#0x238] ; +0x50, 0x56d730 MOV X0, X1 ; +0x54, 0x56d734 LDR X1, [X1] ; +0x58, 0x56d738 SCVTF S8, W22 ; +0x5c, 0x56d73c LDR X1, [X1,#0xC0] ; +0x60, 0x56d740 BLR X1 ; +0x64, 0x56d744 MOV X1, X0; cocos2d::CCPoint * ; +0x68, 0x56d748 MOV X0, X23; this ; +0x6c, 0x56d74c BL _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x70, 0x56d750 MOV X0, X20 ; +0x74, 0x56d754 MOV X1, X23 ; +0x78, 0x56d758 BL _ZN15BoomScrollLayer21pageNumberForPositionEN7cocos2d7CCPointE; BoomScrollLayer::pageNumberForPosition(cocos2d::CCPoint) ; +0x7c, 0x56d75c MOV W26, W0 ; +0x80, 0x56d760 LDRB W0, [X20,#0x1AC] ; +0x84, 0x56d764 CBNZ W0, loc_56D878 ; +0x88, 0x56d768 CMP W22, WZR ; +0x8c, 0x56d76c B.LE loc_56D840 ; +0x90, 0x56d770 FMOV S1, #1.0 ; +0x94, 0x56d774 ADRP X27, #off_E9EF80@PAGE ; +0x98, 0x56d778 FMOV S9, #0.5 ; +0x9c, 0x56d77c MOV W19, #0 ; +0xa0, 0x56d780 FSUB S8, S8, S1 ; +0xa4, 0x56d784 MOV W24, #0x7D ; '}' ; +0xa8, 0x56d788 FMOV S11, #16.0 ; +0xac, 0x56d78c ADD X27, X27, #off_E9EF80@PAGEOFF ; +0xb0, 0x56d790 FMUL S9, S8, S9 ; +0xb4, 0x56d794 B loc_56D7A8 ; +0xb8, 0x56d798 ADD W19, W19, #1 ; +0xbc, 0x56d79c CMP W19, W22 ; +0xc0, 0x56d7a0 B.EQ loc_56D840 ; +0xc4, 0x56d7a4 LDR S8, [X20,#0x234] ; +0xc8, 0x56d7a8 LDR X0, [X20,#0x198]; this ; +0xcc, 0x56d7ac BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0xd0, 0x56d7b0 CMP W19, W0 ; +0xd4, 0x56d7b4 B.CS loc_56D79C ; +0xd8, 0x56d7b8 LDR X0, [X20,#0x198]; this ; +0xdc, 0x56d7bc MOV W1, W19; unsigned int ; +0xe0, 0x56d7c0 BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0xe4, 0x56d7c4 MOV X21, X0 ; +0xe8, 0x56d7c8 SCVTF S0, W19 ; +0xec, 0x56d7cc MOV X0, X23; this ; +0xf0, 0x56d7d0 FMOV S1, S10; float ; +0xf4, 0x56d7d4 LDR X1, [X21] ; +0xf8, 0x56d7d8 FSUB S0, S0, S9 ; +0xfc, 0x56d7dc LDR X28, [X1,#0xB8] ; +0x100, 0x56d7e0 FMADD S0, S0, S11, S8; float ; +0x104, 0x56d7e4 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x108, 0x56d7e8 MOV X0, X21 ; +0x10c, 0x56d7ec MOV X1, X23 ; +0x110, 0x56d7f0 BLR X28 ; +0x114, 0x56d7f4 CMP W19, W26 ; +0x118, 0x56d7f8 LDR X2, [X21] ; +0x11c, 0x56d7fc MOV X0, X21 ; +0x120, 0x56d800 B.EQ loc_56D88C ; +0x124, 0x56d804 LDR X2, [X2,#0x3B0] ; +0x128, 0x56d808 MOV X1, X23 ; +0x12c, 0x56d80c STRB W24, [X29,#0x90+var_10] ; +0x130, 0x56d810 STRB W24, [X29,#0x90+var_F] ; +0x134, 0x56d814 STRB W24, [X29,#0x90+var_E] ; +0x138, 0x56d818 BLR X2 ; +0x13c, 0x56d81c LDR X2, [X21] ; +0x140, 0x56d820 MOV X0, X21 ; +0x144, 0x56d824 LDRB W1, [X20,#0x231] ; +0x148, 0x56d828 ADD W19, W19, #1 ; +0x14c, 0x56d82c LDR X2, [X2,#0x148] ; +0x150, 0x56d830 BLR X2 ; +0x154, 0x56d834 CMP W19, W22 ; +0x158, 0x56d838 B.NE loc_56D7A8 ; +0x15c, 0x56d83c LDR X25, [X25,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x160, 0x56d840 LDR X1, [X29,#0x90+var_8] ; +0x164, 0x56d844 LDR X0, [X25] ; +0x168, 0x56d848 CMP X1, X0 ; +0x16c, 0x56d84c B.NE loc_56D89C ; +0x170, 0x56d850 LDP X19, X20, [SP,#0x90+var_80] ; +0x174, 0x56d854 LDP D8, D9, [SP,#0x90+var_30] ; +0x178, 0x56d858 LDP X21, X22, [SP,#0x90+var_70] ; +0x17c, 0x56d85c LDP D10, D11, [SP,#0x90+var_20] ; +0x180, 0x56d860 LDP X23, X24, [SP,#0x90+var_60] ; +0x184, 0x56d864 LDP X25, X26, [SP,#0x90+var_50] ; +0x188, 0x56d868 LDP X27, X28, [SP,#0x90+var_40] ; +0x18c, 0x56d86c LDP X29, X30, [SP+0x90+var_90],#0x90 ; +0x190, 0x56d870 RET ; +0x194, 0x56d874 MOV W1, W26; int ; +0x198, 0x56d878 MOV X0, X20; this ; +0x19c, 0x56d87c BL _ZN15BoomScrollLayer21getRelativePageForNumEi; BoomScrollLayer::getRelativePageForNum(int) ; +0x1a0, 0x56d880 MOV W26, W0 ; +0x1a4, 0x56d884 B loc_56D76C ; +0x1a8, 0x56d888 LDR X2, [X2,#0x3B0] ; +0x1ac, 0x56d88c MOV X1, X27 ; +0x1b0, 0x56d890 BLR X2 ; +0x1b4, 0x56d894 B loc_56D820 ; +0x1b8, 0x56d898 BL .__stack_chk_fail ; +0x1bc, 0x56d89c