//
// BoomScrollLayer::positionForPageWithNumber from 0x3c160a to 0x3c1646 (60 bytes)
//
// 4 xrefs:
// > BoomScrollLayer::instantMoveToPage @ 0x3c1be2
// > BoomScrollLayer::moveToPage @ 0x3c1c56
// > BoomScrollLayer::selectPage @ 0x3c1f04
// > BoomScrollLayer::ccTouchMoved @ 0x3c2206
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:46:31 +0000
//
BoomScrollLayer *__fastcall BoomScrollLayer::positionForPageWithNumber(BoomScrollLayer *this, float *a2, int a3)
{
int v5; // r4
float *v6; // r0
v5 = -a3;
v6 = (float *)(*(int (__fastcall **)(float *))(*(_DWORD *)a2 + 164))(a2);
cocos2d::CCPoint::CCPoint(this, (float)v5 * (float)(*v6 - a2[116]), 0.0);
return this;
}