; ; BoomScrollLayer::getRelativePageForNum from 0x2e1f56 to 0x2e1f7a (36 bytes) ; ; 6 xrefs: ; > BoomScrollLayer::updateDots @ 0x2e1fd6 ; > BoomScrollLayer::repositionPagesLooped @ 0x2e22ee ; > BoomScrollLayer::repositionPagesLooped @ 0x2e22fc ; > BoomScrollLayer::repositionPagesLooped @ 0x2e230a ; > ListButtonBar::getPage @ 0x2fd426 ; > EditButtonBar::getPage @ 0x3d90ee ; ; 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 ; PUSH {R4,LR} ; +0x0, 0x2e1f56 MOV R4, R1 ; +0x2, 0x2e1f58 BL _ZN15BoomScrollLayer13getTotalPagesEv; BoomScrollLayer::getTotalPages(void) ; +0x4, 0x2e1f5a CMP R4, #0 ; +0x8, 0x2e1f5e MOV R1, R0 ; +0xa, 0x2e1f60 BLE loc_2E1F6C ; +0xc, 0x2e1f62 MOV R0, R4 ; +0xe, 0x2e1f64 BLX __aeabi_idivmod ; +0x10, 0x2e1f66 B loc_2E1F76 ; +0x14, 0x2e1f6a CMP R4, #0 ; +0x16, 0x2e1f6c BGE loc_2E1F74 ; +0x18, 0x2e1f6e ADD R4, R1 ; +0x1a, 0x2e1f70 B loc_2E1F6C ; +0x1c, 0x2e1f72 MOV R1, R4 ; +0x1e, 0x2e1f74 MOV R0, R1 ; +0x20, 0x2e1f76 POP {R4,PC} ; +0x22, 0x2e1f78