; ; BoomScrollLayer::getRelativePageForNum from 0x689824 to 0x689868 (68 bytes) ; ; 8 xrefs: ; > BoomScrollLayer::updateDots @ 0x689a08 ; > BoomScrollLayer::repositionPagesLooped @ 0x689dbc ; > BoomScrollLayer::repositionPagesLooped @ 0x689dd0 ; > BoomScrollLayer::repositionPagesLooped @ 0x689de4 ; > ListButtonBar::getPage @ 0x6c8c34 ; > EditButtonBar::getPage @ 0x86114c ; > EditButtonBar::updateDotState @ 0x861194 ; > @ 0x919d8 ; ; 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_20]! ; +0x0, 0x689824 MOV X29, SP ; +0x4, 0x689828 STR X1, [X29,#0x20+var_8] ; +0x8, 0x68982c BL _ZN15BoomScrollLayer13getTotalPagesEv; BoomScrollLayer::getTotalPages(void) ; +0xc, 0x689830 LDR X1, [X29,#0x20+var_8] ; +0x10, 0x689834 CMP W1, WZR ; +0x14, 0x689838 B.LE loc_689850 ; +0x18, 0x68983c SDIV W2, W1, W0 ; +0x1c, 0x689840 LDP X29, X30, [SP+0x20+var_20],#0x20 ; +0x20, 0x689844 MSUB W0, W2, W0, W1 ; +0x24, 0x689848 RET ; +0x28, 0x68984c B.EQ loc_68985C ; +0x2c, 0x689850 ADDS W1, W1, W0 ; +0x30, 0x689854 B.MI loc_689854 ; +0x34, 0x689858 MOV W0, W1 ; +0x38, 0x68985c LDP X29, X30, [SP+0x20+var_20],#0x20 ; +0x3c, 0x689860 RET ; +0x40, 0x689864