; ; BoomScrollLayer::pageNumberForPosition from 0x2e1e92 to 0x2e1f1a (136 bytes) ; ; 4 xrefs: ; > BoomScrollLayer::updateDots @ 0x2e1fc6 ; > BoomScrollLayer::moveToPageEnded @ 0x2e2100 ; > BoomScrollLayer::ccTouchEnded @ 0x2e275e ; > BoomScrollLayer::ccTouchMoved @ 0x2e2b0a ; ; 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 {R3-R5,LR} ; +0x0, 0x2e1e92 MOV R5, R0 ; +0x2, 0x2e1e94 LDR.W R0, [R0,#0x180] ; +0x4, 0x2e1e96 VPUSH {D8} ; +0x8, 0x2e1e9a LDR R3, [R0] ; +0xc, 0x2e1e9e LDR R3, [R3,#0x60] ; +0xe, 0x2e1ea0 BLX R3 ; +0x10, 0x2e1ea2 LDR R3, [R5] ; +0x12, 0x2e1ea4 LDR.W R3, [R3,#0x9C] ; +0x14, 0x2e1ea6 VLDR S17, [R0] ; +0x18, 0x2e1eaa MOV R0, R5 ; +0x1c, 0x2e1eae BLX R3 ; +0x1e, 0x2e1eb0 VLDR S16, [R5,#0x1D0] ; +0x20, 0x2e1eb2 VNEG.F32 S17, S17 ; +0x24, 0x2e1eb6 VLDR S15, [R0] ; +0x28, 0x2e1eba VSUB.F32 S16, S15, S16 ; +0x2c, 0x2e1ebe VDIV.F32 S16, S17, S16 ; +0x30, 0x2e1ec2 VMOV R0, S16; x ; +0x34, 0x2e1ec6 BLX ceilf ; +0x38, 0x2e1eca LDRB.W R3, [R5,#0x14C] ; +0x3c, 0x2e1ece VMOV S15, R0 ; +0x40, 0x2e1ed2 VCVT.S32.F32 S15, S15 ; +0x44, 0x2e1ed6 VMOV R4, S15 ; +0x48, 0x2e1eda VCVT.F32.S32 S15, S15 ; +0x4c, 0x2e1ede VSUB.F32 S16, S15, S16 ; +0x50, 0x2e1ee2 VMOV.F32 S15, #0.5 ; +0x54, 0x2e1ee6 VCMPE.F32 S16, S15 ; +0x58, 0x2e1eea VMRS APSR_nzcv, FPSCR ; +0x5c, 0x2e1eee IT GE ; +0x60, 0x2e1ef2 ADDGE.W R4, R4, #0xFFFFFFFF ; +0x62, 0x2e1ef4 CBNZ R3, loc_2E1F12 ; +0x66, 0x2e1ef8 MOV R0, R5; this ; +0x68, 0x2e1efa BIC.W R4, R4, R4,ASR#31 ; +0x6a, 0x2e1efc BL _ZN15BoomScrollLayer13getTotalPagesEv; BoomScrollLayer::getTotalPages(void) ; +0x6e, 0x2e1f00 SUBS R0, #1 ; +0x72, 0x2e1f04 CMP R0, R4 ; +0x74, 0x2e1f06 BGT loc_2E1F12 ; +0x76, 0x2e1f08 MOV R0, R5; this ; +0x78, 0x2e1f0a BL _ZN15BoomScrollLayer13getTotalPagesEv; BoomScrollLayer::getTotalPages(void) ; +0x7a, 0x2e1f0c SUBS R4, R0, #1 ; +0x7e, 0x2e1f10 VPOP {D8} ; +0x80, 0x2e1f12 MOV R0, R4 ; +0x84, 0x2e1f16 POP {R3-R5,PC} ; +0x86, 0x2e1f18