// // CCScrollLayerExt::moveToTop from 0x10042e580 to 0x10042e60c (140 bytes) // // 5 xrefs: // > CustomListView::setupList @ 0x10024d97f // > CustomListView::setupList @ 0x10024dbd4 // > CustomListView::setupList @ 0x10024dc6a // > CustomListView::setupList @ 0x10024ddad // > BoomListView::setupList @ 0x10030ca03 // // 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 __fastcall CCScrollLayerExt::moveToTop(CCScrollLayerExt *a1) { CCContentLayer *m_contentLayer; // rbx float v3; // xmm1_4 float v4; // [rsp+0h] [rbp-20h] BYREF float v5; // [rsp+8h] [rbp-18h] float v6; // [rsp+Ch] [rbp-14h] m_contentLayer = a1->m_contentLayer; v5 = *(float *)((__int64 (__fastcall *)(CCContentLayer *))m_contentLayer->getPosition)(m_contentLayer); v6 = *(float *)(((__int64 (__fastcall *)(CCScrollLayerExt *))a1->getContentSize)(a1) + 4); v3 = (float)(v6 - *(float *)(((__int64 (__fastcall *)(CCContentLayer *))a1->m_contentLayer->getContentSize)(a1->m_contentLayer) + 4)) - a1->m_scrollLimitTop; sub_10028CBE0(&v4, v5, v3); ((void (__fastcall *)(CCContentLayer *, float *))m_contentLayer->setPosition)(m_contentLayer, &v4); }