; ; BoomScrollLayer::positionForPageWithNumber from 0x56d640 to 0x56d69c (92 bytes) ; ; 5 xrefs: ; > BoomScrollLayer::instantMoveToPage @ 0x56df50 ; > BoomScrollLayer::moveToPage @ 0x56e024 ; > BoomScrollLayer::selectPage @ 0x56e380 ; > BoomScrollLayer::ccTouchMoved @ 0x56e840 ; > @ 0xbd4e0 ; ; 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, 0x56d640 MOV X29, SP ; +0x4, 0x56d644 LDR X2, [X0] ; +0x8, 0x56d648 STP X19, X20, [SP,#0x30+var_20] ; +0xc, 0x56d64c STR X1, [X29,#0x30+var_8] ; +0x10, 0x56d650 MOV X19, X8 ; +0x14, 0x56d654 LDR X2, [X2,#0x138] ; +0x18, 0x56d658 MOV X20, X0 ; +0x1c, 0x56d65c BLR X2 ; +0x20, 0x56d660 LDR X1, [X29,#0x30+var_8] ; +0x24, 0x56d664 LDR S1, [X20,#0x248] ; +0x28, 0x56d668 NEG W1, W1 ; +0x2c, 0x56d66c LDR S0, [X0] ; +0x30, 0x56d670 MOV X0, X19; this ; +0x34, 0x56d674 SCVTF S2, W1 ; +0x38, 0x56d678 FSUB S0, S0, S1 ; +0x3c, 0x56d67c FMOV S1, WZR; float ; +0x40, 0x56d680 FMUL S0, S2, S0; float ; +0x44, 0x56d684 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x48, 0x56d688 MOV X0, X19 ; +0x4c, 0x56d68c LDP X19, X20, [SP,#0x30+var_20] ; +0x50, 0x56d690 LDP X29, X30, [SP+0x30+var_30],#0x30 ; +0x54, 0x56d694 RET ; +0x58, 0x56d698