//
// CCScrollLayerExt::moveToTop from 0x2e8778 to 0x2e87c4 (76 bytes)
//
// 5 xrefs:
// > BoomListView::setupList @ 0x2e148a
// > CustomListView::setupList @ 0x3306c4
// > CustomListView::setupList @ 0x330722
// > CustomListView::setupList @ 0x330772
// > CustomListView::setupList @ 0x330838
//
// 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
//
void CCScrollLayerExt::moveToTop(CCScrollLayerExt *a1)
{
CCContentLayer *m_contentLayer; // r5
void (__fastcall *setPosition)(CCContentLayer *__hidden, const cocos2d::CCPoint *); // r7
float x; // r8
float MinY; // r0
cocos2d::CCPoint v6; // [sp+4h] [bp-Ch] BYREF
m_contentLayer = a1->m_contentLayer;
setPosition = m_contentLayer->setPosition;
x = m_contentLayer->getPosition(m_contentLayer)->x;
MinY = CCScrollLayerExt::getMinY(a1);
cocos2d::CCPoint::CCPoint(&v6, x, MinY);
setPosition(m_contentLayer, &v6);
}