//
// ThreadViewPopup::onScrollToBottom from 0x7495d8 to 0x749622 (74 bytes)
//
// 0 xrefs:
//
// 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::onScrollToBottom(ThreadViewPopup *this, cocos2d::CCObject *a2)
{
float *v4; // r0
float v5; // r1
if ( *((_BYTE *)this + 856) )
return ThreadViewPopup::jumpToLatest((int)this);
v4 = *((float **)this + 155);
if ( v4 )
{
if ( (float)(v4[83] - *((float *)this + 158)) > 0.0 )
v5 = v4[83] - *((float *)this + 158);
else
v5 = 0.0;
ScrollableContentLayer::scrollTo((ScrollableContentLayer *)v4, v5);
}
return ThreadViewPopup::setUnseenBelow(this, 0);
}