//
// 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
//
cocos2d::CCPoint BoomScrollLayer::getRelativePosForPage(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;
}