//
// BoomScrollLayer::moveToPageEnded from 0x689a54 to 0x689b18 (196 bytes)
//
// 6 xrefs:
// > BoomScrollLayer::instantMoveToPage @ 0x68a104
// > BoomScrollLayer::instantMoveToPage @ 0x68a118
// > BoomScrollLayer::quickUpdate @ 0x68a5b0
// > ??> @ 0xe9560
// > BoomScrollLayer::moveToPage @ 0x68a214
// > ??> @ 0x15470c0
//
// 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
//
__int64 __fastcall BoomScrollLayer::moveToPageEnded(BoomScrollLayer *this)
{
__int64 v2; // x0
const cocos2d::CCPoint *v3; // x0
int v4; // w0
_BYTE v6[8]; // [xsp+30h] [xbp+30h] BYREF
if ( *((_DWORD *)this + 106) != *((_DWORD *)this + 147) )
{
v2 = *((_QWORD *)this + 68);
if ( v2 )
(*(void (__fastcall **)(__int64, BoomScrollLayer *))(*(_QWORD *)v2 + 8LL))(v2, this);
}
cocos2d::CCNode::stopActionByTag(*((cocos2d::CCNode **)this + 63), 2);
v3 = (const cocos2d::CCPoint *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 63) + 192LL))(*((_QWORD *)this + 63));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v6, v3);
v4 = BoomScrollLayer::pageNumberForPosition((cocos2d::CCArray **)this);
*((_DWORD *)this + 147) = v4;
*((_DWORD *)this + 106) = v4;
BoomScrollLayer::updateDots((cocos2d::CCArray **)this, 0.0);
return _stack_chk_guard;
}