//
// ThreadViewPopup::jumpToLatest from 0xc65ce8 to 0xc65d68 (128 bytes)
//
// 4 xrefs:
// > ThreadViewPopup::onJumpToLatest @ 0xc65d68
// > ThreadViewPopup::threadMessagesFailed @ 0xc65eb8
// > ThreadViewPopup::onScrollToBottom @ 0xc661d8
// > ??> @ 0x101860
//
// 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 13:05:24 +0000
//
__int64 __fastcall ThreadViewPopup::jumpToLatest(__int64 this)
{
__int64 v1; // x19
unsigned __int8 v2; // w1
if ( !*(_QWORD *)(this + 1040) && !*(_BYTE *)(this + 790) )
{
v1 = this;
this = (unsigned __int8)ThreadViewPopup::requestMessages((ThreadViewPopup *)this, 0, 0);
if ( (_BYTE)this )
{
*(_BYTE *)(v1 + 1168) = 0;
*(_QWORD *)(v1 + 1184) = 0;
*(_QWORD *)(v1 + 1176) = 0;
*(_BYTE *)(v1 + 789) = 0;
*(_DWORD *)(v1 + 784) = 0;
v2 = ThreadViewPopup::dmSendBlocked((ThreadViewPopup *)v1);
if ( !v2 )
v2 = *(_BYTE *)(v1 + 790);
ThreadViewPopup::setSendPending(v1, v2);
return ThreadViewPopup::showLoading((ThreadViewPopup *)v1);
}
}
return this;
}