//
// BoomScrollLayer::moveToPageEnded from 0x3c17a4 to 0x3c1814 (112 bytes)
//
// 2 xrefs:
// > BoomScrollLayer::instantMoveToPage @ 0x3c1c04
// > BoomScrollLayer::quickUpdate @ 0x3c1f88
//
// 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
//
unsigned int __fastcall BoomScrollLayer::moveToPageEnded(BoomScrollLayer *this, int a2, int a3, int a4)
{
int v5; // r0
const cocos2d::CCPoint *v6; // r0
int v7; // r0
_DWORD v9[3]; // [sp+4h] [bp-Ch] BYREF
v9[0] = a2;
v9[1] = a3;
v9[2] = a4;
if ( *((_DWORD *)this + 81) != *((_DWORD *)this + 115) )
{
v5 = *((_DWORD *)this + 105);
if ( v5 )
(*(void (__fastcall **)(int, BoomScrollLayer *))(*(_DWORD *)v5 + 4))(v5, this);
}
cocos2d::CCNode::stopActionByTag(*((cocos2d::CCNode **)this + 96), 2);
v6 = (const cocos2d::CCPoint *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 96) + 96))(*((_DWORD *)this + 96));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, v6);
v7 = BoomScrollLayer::pageNumberForPosition((int)this);
*((_DWORD *)this + 115) = v7;
*((_DWORD *)this + 81) = v7;
return BoomScrollLayer::updateDots((unsigned int)this, 0.0);
}