; ; BoomScrollLayer::updateDots from 0x689868 to 0x689a28 (448 bytes) ; ; 5 xrefs: ; > BoomScrollLayer::setPagesIndicatorPosition @ 0x689a50 ; > BoomScrollLayer::moveToPageEnded @ 0x689aec ; > @ 0xc8968 ; > BoomScrollLayer::init @ 0x68adac ; > @ 0x1545e10 ; ; 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_90]! ; +0x0, 0x689868 MOV X29, SP ; +0x4, 0x68986c STP X25, X26, [SP,#0x90+var_50] ; +0x8, 0x689870 STP D8, D9, [SP,#0x90+var_30] ; +0xc, 0x689874 ADRP X25, #__stack_chk_guard_ptr@PAGE ; +0x10, 0x689878 STP D10, D11, [SP,#0x90+var_20] ; +0x14, 0x68987c STP X19, X20, [SP,#0x90+var_80] ; +0x18, 0x689880 STP X21, X22, [SP,#0x90+var_70] ; +0x1c, 0x689884 LDR X2, [X25,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x20, 0x689888 MOV X20, X0 ; +0x24, 0x68988c STP X23, X24, [SP,#0x90+var_60] ; +0x28, 0x689890 STP X27, X28, [SP,#0x90+var_40] ; +0x2c, 0x689894 LDR X2, [X2] ; +0x30, 0x689898 LDR X1, [X0,#0x1A0] ; +0x34, 0x68989c STR X2, [X29,#0x90+var_8] ; +0x38, 0x6898a0 CBZ X1, loc_6899C8 ; +0x3c, 0x6898a4 BL _ZN15BoomScrollLayer13getTotalPagesEv; BoomScrollLayer::getTotalPages(void) ; +0x40, 0x6898a8 MOV W22, W0 ; +0x44, 0x6898ac LDR X1, [X20,#0x1F8] ; +0x48, 0x6898b0 ADD X23, X29, #0x90+var_10 ; +0x4c, 0x6898b4 LDR S10, [X20,#0x240] ; +0x50, 0x6898b8 MOV X0, X1 ; +0x54, 0x6898bc LDR X1, [X1] ; +0x58, 0x6898c0 SCVTF S8, W22 ; +0x5c, 0x6898c4 LDR X1, [X1,#0xC0] ; +0x60, 0x6898c8 BLR X1 ; +0x64, 0x6898cc MOV X1, X0; cocos2d::CCPoint * ; +0x68, 0x6898d0 MOV X0, X23; this ; +0x6c, 0x6898d4 BL _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x70, 0x6898d8 MOV X0, X20 ; +0x74, 0x6898dc MOV X1, X23 ; +0x78, 0x6898e0 BL _ZN15BoomScrollLayer21pageNumberForPositionEN7cocos2d7CCPointE; BoomScrollLayer::pageNumberForPosition(cocos2d::CCPoint) ; +0x7c, 0x6898e4 MOV W26, W0 ; +0x80, 0x6898e8 LDRB W0, [X20,#0x1B4] ; +0x84, 0x6898ec CBNZ W0, loc_689A00 ; +0x88, 0x6898f0 CMP W22, WZR ; +0x8c, 0x6898f4 B.LE loc_6899C8 ; +0x90, 0x6898f8 FMOV S1, #1.0 ; +0x94, 0x6898fc ADRP X27, #unk_111BE10@PAGE ; +0x98, 0x689900 FMOV S9, #0.5 ; +0x9c, 0x689904 MOV W19, #0 ; +0xa0, 0x689908 FSUB S8, S8, S1 ; +0xa4, 0x68990c MOV W24, #0x7D ; '}' ; +0xa8, 0x689910 FMOV S11, #16.0 ; +0xac, 0x689914 ADD X27, X27, #unk_111BE10@PAGEOFF ; +0xb0, 0x689918 FMUL S9, S8, S9 ; +0xb4, 0x68991c B loc_689930 ; +0xb8, 0x689920 ADD W19, W19, #1 ; +0xbc, 0x689924 CMP W19, W22 ; +0xc0, 0x689928 B.EQ loc_6899C8 ; +0xc4, 0x68992c LDR S8, [X20,#0x23C] ; +0xc8, 0x689930 LDR X0, [X20,#0x1A0]; this ; +0xcc, 0x689934 BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0xd0, 0x689938 CMP W19, W0 ; +0xd4, 0x68993c B.CS loc_689924 ; +0xd8, 0x689940 LDR X0, [X20,#0x1A0]; this ; +0xdc, 0x689944 MOV W1, W19; unsigned int ; +0xe0, 0x689948 BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0xe4, 0x68994c MOV X21, X0 ; +0xe8, 0x689950 SCVTF S0, W19 ; +0xec, 0x689954 MOV X0, X23; this ; +0xf0, 0x689958 FMOV S1, S10; float ; +0xf4, 0x68995c LDR X1, [X21] ; +0xf8, 0x689960 FSUB S0, S0, S9 ; +0xfc, 0x689964 LDR X28, [X1,#0xB8] ; +0x100, 0x689968 FMADD S0, S0, S11, S8; float ; +0x104, 0x68996c BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x108, 0x689970 MOV X0, X21 ; +0x10c, 0x689974 MOV X1, X23 ; +0x110, 0x689978 BLR X28 ; +0x114, 0x68997c CMP W19, W26 ; +0x118, 0x689980 LDR X2, [X21] ; +0x11c, 0x689984 MOV X0, X21 ; +0x120, 0x689988 B.EQ loc_689A14 ; +0x124, 0x68998c LDR X2, [X2,#0x3C0] ; +0x128, 0x689990 MOV X1, X23 ; +0x12c, 0x689994 STRB W24, [X29,#0x90+var_10] ; +0x130, 0x689998 STRB W24, [X29,#0x90+var_F] ; +0x134, 0x68999c STRB W24, [X29,#0x90+var_E] ; +0x138, 0x6899a0 BLR X2 ; +0x13c, 0x6899a4 LDR X2, [X21] ; +0x140, 0x6899a8 MOV X0, X21 ; +0x144, 0x6899ac LDRB W1, [X20,#0x239] ; +0x148, 0x6899b0 ADD W19, W19, #1 ; +0x14c, 0x6899b4 LDR X2, [X2,#0x158] ; +0x150, 0x6899b8 BLR X2 ; +0x154, 0x6899bc CMP W19, W22 ; +0x158, 0x6899c0 B.NE loc_689930 ; +0x15c, 0x6899c4 LDR X25, [X25,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x160, 0x6899c8 LDR X1, [X29,#0x90+var_8] ; +0x164, 0x6899cc LDR X0, [X25] ; +0x168, 0x6899d0 CMP X1, X0 ; +0x16c, 0x6899d4 B.NE loc_689A24 ; +0x170, 0x6899d8 LDP X19, X20, [SP,#0x90+var_80] ; +0x174, 0x6899dc LDP D8, D9, [SP,#0x90+var_30] ; +0x178, 0x6899e0 LDP X21, X22, [SP,#0x90+var_70] ; +0x17c, 0x6899e4 LDP D10, D11, [SP,#0x90+var_20] ; +0x180, 0x6899e8 LDP X23, X24, [SP,#0x90+var_60] ; +0x184, 0x6899ec LDP X25, X26, [SP,#0x90+var_50] ; +0x188, 0x6899f0 LDP X27, X28, [SP,#0x90+var_40] ; +0x18c, 0x6899f4 LDP X29, X30, [SP+0x90+var_90],#0x90 ; +0x190, 0x6899f8 RET ; +0x194, 0x6899fc MOV W1, W26; int ; +0x198, 0x689a00 MOV X0, X20; this ; +0x19c, 0x689a04 BL _ZN15BoomScrollLayer21getRelativePageForNumEi; BoomScrollLayer::getRelativePageForNum(int) ; +0x1a0, 0x689a08 MOV W26, W0 ; +0x1a4, 0x689a0c B loc_6898F4 ; +0x1a8, 0x689a10 LDR X2, [X2,#0x3C0] ; +0x1ac, 0x689a14 MOV X1, X27 ; +0x1b0, 0x689a18 BLR X2 ; +0x1b4, 0x689a1c B loc_6899A8 ; +0x1b8, 0x689a20 BL .__stack_chk_fail ; +0x1bc, 0x689a24