; ; BoomScrollLayer::getRelativePageForNum from 0x1001558b0 to 0x100155918 (104 bytes) ; ; 7 xrefs: ; > BoomScrollLayer::repositionPagesLooped @ 0x100154f3c ; > BoomScrollLayer::repositionPagesLooped @ 0x100154f50 ; > BoomScrollLayer::repositionPagesLooped @ 0x100154f64 ; > BoomScrollLayer::updateDots @ 0x10015551c ; > EditButtonBar::onDotClicked @ 0x1004a3808 ; > EditButtonBar::updateDotState @ 0x1004a389c ; > EditButtonBar::getPage @ 0x1004a39d8 ; ; 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 10:59:41 +0000 ; STP X20, X19, [SP,#-0x10+var_10]! ; +0x0, 0x1001558b0 STP X29, X30, [SP,#0x10+var_s0] ; +0x4, 0x1001558b4 ADD X29, SP, #0x10 ; +0x8, 0x1001558b8 MOV X19, X1 ; +0xc, 0x1001558bc LDRB W8, [X0,#0x1C8] ; +0x10, 0x1001558c0 CMP W8, #0 ; +0x14, 0x1001558c4 MOV W8, #0x1E0 ; +0x18, 0x1001558c8 MOV W9, #0x1C0 ; +0x1c, 0x1001558cc CSEL X8, X9, X8, NE ; +0x20, 0x1001558d0 LDR X0, [X0,X8] ; +0x24, 0x1001558d4 BL sub_1002E757C ; +0x28, 0x1001558d8 SDIV W8, W19, W0 ; +0x2c, 0x1001558dc MSUB W8, W8, W0, W19 ; +0x30, 0x1001558e0 CMP W19, #0 ; +0x34, 0x1001558e4 CSETM W9, NE ; +0x38, 0x1001558e8 SUB W9, W9, W19 ; +0x3c, 0x1001558ec CMP W0, #1 ; +0x40, 0x1001558f0 CSINC W10, W0, WZR, HI ; +0x44, 0x1001558f4 CMP W19, #0 ; +0x48, 0x1001558f8 UDIV W9, W9, W10 ; +0x4c, 0x1001558fc CINC W9, W9, NE ; +0x50, 0x100155900 MADD W9, W0, W9, W19 ; +0x54, 0x100155904 CSEL W0, W8, W9, GT ; +0x58, 0x100155908 LDP X29, X30, [SP,#0x10+var_s0] ; +0x5c, 0x10015590c LDP X20, X19, [SP+0x10+var_10],#0x20 ; +0x60, 0x100155910 RET ; +0x64, 0x100155914