; ; BoomScrollLayer::getRelativePageForNum from 0x56d69c to 0x56d6e0 (68 bytes) ; ; 7 xrefs: ; > BoomScrollLayer::updateDots @ 0x56d880 ; > BoomScrollLayer::repositionPagesLooped @ 0x56dc34 ; > BoomScrollLayer::repositionPagesLooped @ 0x56dc48 ; > BoomScrollLayer::repositionPagesLooped @ 0x56dc5c ; > ListButtonBar::getPage @ 0x5a88f4 ; > EditButtonBar::getPage @ 0x73ab2c ; > @ 0x6bc28 ; ; 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_20]! ; +0x0, 0x56d69c MOV X29, SP ; +0x4, 0x56d6a0 STR X1, [X29,#0x20+var_8] ; +0x8, 0x56d6a4 BL _ZN15BoomScrollLayer13getTotalPagesEv; BoomScrollLayer::getTotalPages(void) ; +0xc, 0x56d6a8 LDR X1, [X29,#0x20+var_8] ; +0x10, 0x56d6ac CMP W1, WZR ; +0x14, 0x56d6b0 B.LE loc_56D6C8 ; +0x18, 0x56d6b4 SDIV W2, W1, W0 ; +0x1c, 0x56d6b8 LDP X29, X30, [SP+0x20+var_20],#0x20 ; +0x20, 0x56d6bc MSUB W0, W2, W0, W1 ; +0x24, 0x56d6c0 RET ; +0x28, 0x56d6c4 B.EQ loc_56D6D4 ; +0x2c, 0x56d6c8 ADDS W1, W1, W0 ; +0x30, 0x56d6cc B.MI loc_56D6CC ; +0x34, 0x56d6d0 MOV W0, W1 ; +0x38, 0x56d6d4 LDP X29, X30, [SP+0x20+var_20],#0x20 ; +0x3c, 0x56d6d8 RET ; +0x40, 0x56d6dc