; ; BoomScrollLayer::getRelativePageForNum from 0x3c1646 to 0x3c166a (36 bytes) ; ; 7 xrefs: ; > BoomScrollLayer::updateDots @ 0x3c16c6 ; > BoomScrollLayer::repositionPagesLooped @ 0x3c19de ; > BoomScrollLayer::repositionPagesLooped @ 0x3c19ec ; > BoomScrollLayer::repositionPagesLooped @ 0x3c19fa ; > ListButtonBar::getPage @ 0x3e6a52 ; > EditButtonBar::getPage @ 0x4ddd2e ; > EditButtonBar::updateDotState @ 0x4ddd5c ; ; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! ; ; 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 11:46:31 +0000 ; PUSH {R4,LR} ; +0x0, 0x3c1646 MOV R4, R1 ; +0x2, 0x3c1648 BL _ZN15BoomScrollLayer13getTotalPagesEv; BoomScrollLayer::getTotalPages(void) ; +0x4, 0x3c164a CMP R4, #0 ; +0x8, 0x3c164e MOV R1, R0 ; +0xa, 0x3c1650 BLE loc_3C165C ; +0xc, 0x3c1652 MOV R0, R4 ; +0xe, 0x3c1654 BLX __aeabi_idivmod ; +0x10, 0x3c1656 B loc_3C1666 ; +0x14, 0x3c165a CMP R4, #0 ; +0x16, 0x3c165c BGE loc_3C1664 ; +0x18, 0x3c165e ADD R4, R1 ; +0x1a, 0x3c1660 B loc_3C165C ; +0x1c, 0x3c1662 MOV R1, R4 ; +0x1e, 0x3c1664 MOV R0, R1 ; +0x20, 0x3c1666 POP {R4,PC} ; +0x22, 0x3c1668