; ; BoomScrollLayer::getRelativePosForPage from 0x56d990 to 0x56d9e8 (88 bytes) ; ; 7 xrefs: ; > BoomScrollLayer::setupDynamicScrolling @ 0x56da5c ; > BoomScrollLayer::setupDynamicScrolling @ 0x56da90 ; > BoomScrollLayer::setupDynamicScrolling @ 0x56dac4 ; > BoomScrollLayer::repositionPagesLooped @ 0x56dca4 ; > BoomScrollLayer::repositionPagesLooped @ 0x56dcdc ; > BoomScrollLayer::repositionPagesLooped @ 0x56dea8 ; > @ 0x9eca0 ; ; 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_30]! ; +0x0, 0x56d990 MOV X29, SP ; +0x4, 0x56d994 LDR X2, [X0] ; +0x8, 0x56d998 STP X19, X20, [SP,#0x30+var_20] ; +0xc, 0x56d99c STR X1, [X29,#0x30+var_8] ; +0x10, 0x56d9a0 MOV X19, X8 ; +0x14, 0x56d9a4 LDR X2, [X2,#0x138] ; +0x18, 0x56d9a8 MOV X20, X0 ; +0x1c, 0x56d9ac BLR X2 ; +0x20, 0x56d9b0 LDR X1, [X29,#0x30+var_8] ; +0x24, 0x56d9b4 LDR S1, [X20,#0x248] ; +0x28, 0x56d9b8 LDR S0, [X0] ; +0x2c, 0x56d9bc MOV X0, X19; this ; +0x30, 0x56d9c0 SCVTF S2, W1 ; +0x34, 0x56d9c4 FSUB S0, S0, S1 ; +0x38, 0x56d9c8 FMOV S1, WZR; float ; +0x3c, 0x56d9cc FMUL S0, S2, S0; float ; +0x40, 0x56d9d0 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x44, 0x56d9d4 MOV X0, X19 ; +0x48, 0x56d9d8 LDP X19, X20, [SP,#0x30+var_20] ; +0x4c, 0x56d9dc LDP X29, X30, [SP+0x30+var_30],#0x30 ; +0x50, 0x56d9e0 RET ; +0x54, 0x56d9e4