//
// BoomScrollLayer::getRelativePosForPage from 0x689b18 to 0x689b70 (88 bytes)
//
// 7 xrefs:
// > BoomScrollLayer::setupDynamicScrolling @ 0x689be4
// > BoomScrollLayer::setupDynamicScrolling @ 0x689c18
// > BoomScrollLayer::setupDynamicScrolling @ 0x689c4c
// > BoomScrollLayer::repositionPagesLooped @ 0x689e2c
// > BoomScrollLayer::repositionPagesLooped @ 0x689e64
// > BoomScrollLayer::repositionPagesLooped @ 0x68a030
// > ??> @ 0xd1020
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:50:32 +0000
//
cocos2d::CCPoint *__usercall BoomScrollLayer::getRelativePosForPage@(
BoomScrollLayer *this@,
int a2@,
cocos2d::CCPoint *a3@)
{
float *v5; // x0
v5 = (float *)(*(__int64 (__fastcall **)(BoomScrollLayer *))(*(_QWORD *)this + 328LL))(this);
cocos2d::CCPoint::CCPoint(a3, (float)a2 * (float)(*v5 - *((float *)this + 148)), 0.0);
return a3;
}