//
// BoomScrollLayer::positionForPageWithNumber from 0x1003a64e0 to 0x1003a6530 (80 bytes)
//
// 0 xrefs:
//
// 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
//
// local variable allocation has failed, the output may be wrong!
cocos2d::CCPoint __fastcall BoomScrollLayer::positionForPageWithNumber(BoomScrollLayer *a1, int a2)
{
int v2; // edx
float v4; // [rsp+Ch] [rbp-14h]
cocos2d::CCPoint result; // 0:xmm0_8.8
v4 = (float)-v2;
result = (cocos2d::CCPoint)*(unsigned int *)(*(__int64 (__fastcall **)(int))(**(_QWORD **)&a2 + 312LL))(a2);
result.x = (float)(result.x - *(float *)(*(_QWORD *)&a2 + 584LL)) * v4;
sub_10028CBE0((float *)a1, result.x, 0.0);
return result;
}