// // 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 // cocos2d::CCPoint BoomScrollLayer::positionForPageWithNumber(BoomScrollLayer *a1, int a2) { cocos2d::CCPoint *v2; // x8 cocos2d::CCPoint *v3; // x19 const cocos2d::CCSize *v5; // x0 cocos2d::CCPoint result; // 0:s0.4,4:s1.4 v3 = v2; v5 = a1->getContentSize(a1); cocos2d::CCPoint::CCPoint(v3, (float)-a2 * (float)(v5->width - a1->m_pageOffset), 0.0); return result; }