//
// ThreadViewPopup::jumpToLatest from 0x749572 to 0x7495d4 (98 bytes)
//
// 3 xrefs:
// > ThreadViewPopup::onJumpToLatest @ 0x7495d4
// > ThreadViewPopup::onScrollToBottom @ 0x7495e6
// > ThreadViewPopup::threadMessagesFailed @ 0x749668
//
// 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:58:45 +0000
//
int __fastcall ThreadViewPopup::jumpToLatest(int this)
{
int v1; // r4
int v2; // r5
int v3; // r1
v1 = this;
if ( !*(_DWORD *)(this + 760) )
{
v2 = *(unsigned __int8 *)(this + 598);
if ( !*(_BYTE *)(this + 598) )
{
this = ThreadViewPopup::requestMessages((ThreadViewPopup *)this, 0, 0);
if ( this )
{
*(_BYTE *)(v1 + 856) = v2;
*(_QWORD *)(v1 + 872) = 0;
*(_QWORD *)(v1 + 864) = 0;
*(_BYTE *)(v1 + 597) = v2;
*(_DWORD *)(v1 + 592) = v2;
v3 = ThreadViewPopup::dmSendBlocked((ThreadViewPopup *)v1);
if ( !v3 )
v3 = *(unsigned __int8 *)(v1 + 598);
ThreadViewPopup::setSendPending((ThreadViewPopup *)v1, v3);
return ThreadViewPopup::showLoading((ThreadViewPopup *)v1);
}
}
}
return this;
}