//
// BoomScrollLayer::positionForPageWithNumber from 0x6897c8 to 0x689824 (92 bytes)
//
// 5 xrefs:
// > BoomScrollLayer::instantMoveToPage @ 0x68a0d8
// > BoomScrollLayer::moveToPage @ 0x68a1ac
// > BoomScrollLayer::selectPage @ 0x68a508
// > BoomScrollLayer::ccTouchMoved @ 0x68a9c8
// > ??> @ 0xf6d00
//
// 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::positionForPageWithNumber@(
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;
}