//
// ThreadViewPopup::setUnseenBelow from 0x746fc0 to 0x747004 (68 bytes)
//
// 8 xrefs:
// > ThreadViewPopup::checkUnseenBelow @ 0x747036
// > ThreadViewPopup::scrollToUnreadLine @ 0x7470fa
// > ThreadViewPopup::onScrollToBottom @ 0x74961e
// > ThreadViewPopup::threadSearchFinished @ 0x75d548
// > ThreadViewPopup::onSend @ 0x75de6a
// > ThreadViewPopup::threadMessagesFinished @ 0x75e776
// > ThreadViewPopup::threadMessagesFinished @ 0x75ec90
// > ThreadViewPopup::threadMessagesFinished @ 0x75ecc2
//
// 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:43 +0000
//
int __fastcall ThreadViewPopup::setUnseenBelow(ThreadViewPopup *this, int a2)
{
int v3; // r0
int result; // r0
v3 = *((_DWORD *)this + 188);
if ( v3 )
(*(void (__fastcall **)(int))(*(_DWORD *)v3 + 172))(v3);
result = cocos2d::CCNode::unschedule(this, ThreadViewPopup::checkUnseenBelow, 0);
if ( a2 )
return cocos2d::CCNode::schedule(this, ThreadViewPopup::checkUnseenBelow, 0, 1041865114);
return result;
}