//
// MessageThreadsPage::onScrollToTop from 0x1400d90e0 to 0x1400d912e (78 bytes)
//
// 2 xrefs:
// > MessageThreadsPage::init @ 0x1400d5777
// > ??> @ 0x140914810
//
// This function is hookable on this platform (idp: pc, 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 11:26:27 +0000
//
double __fastcall MessageThreadsPage::onScrollToTop(__int64 a1)
{
__int64 v2; // rcx
__int64 v3; // rcx
v2 = *(_QWORD *)(a1 + 952);
if ( v2 )
CCScrollLayerExt::moveToTop(*(_QWORD *)(v2 + 424));
v3 = *(_QWORD *)(a1 + 736);
if ( v3 )
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v3 + 336LL))(v3, 0);
return cocos2d::CCNode::unschedule(a1, MessageThreadsPage::checkActivityAbove);
}