//
// ThreadViewPopup::setPollInterval from 0x746ea0 to 0x746f14 (116 bytes)
//
// 8 xrefs:
// > ThreadViewPopup::threadMessagesFailed @ 0x74967c
// > ThreadViewPopup::refetchLatest @ 0x749b16
// > ThreadViewPopup::exitSearch @ 0x75be5a
// > ThreadViewPopup::threadSearchFinished @ 0x75d540
// > ThreadViewPopup::threadMessagesFinished @ 0x75e74c
// > ThreadViewPopup::threadMessagesFinished @ 0x75e87e
// > ThreadViewPopup::threadMessagesFinished @ 0x75e8a0
// > ThreadViewPopup::threadMessagesFinished @ 0x75ed62
//
// 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::setPollInterval(int this, float a2)
{
int v2; // r4
float v4; // s15
v2 = this;
if ( *(_BYTE *)(this + 599) || (this = ThreadViewPopup::removedView((ThreadViewPopup *)this)) != 0 )
a2 = 0.0;
if ( a2 != *(float *)(v2 + 692) )
{
*(float *)(v2 + 692) = a2;
this = cocos2d::CCNode::unschedule(v2, ThreadViewPopup::onAutoRefresh, 0);
v4 = *(float *)(v2 + 692);
if ( v4 > 0.0 )
return cocos2d::CCNode::schedule(v2, ThreadViewPopup::onAutoRefresh, 0, LODWORD(v4));
}
return this;
}