//
// ThreadViewPopup::setPollInterval from 0x1400db480 to 0x1400db4fe (126 bytes)
//
// 8 xrefs:
// > ThreadViewPopup::exitSearch @ 0x1400dbf0d
// > ThreadViewPopup::threadSearchFinished @ 0x1400dc081
// > ThreadViewPopup::refetchLatest @ 0x1400de6c9
// > ThreadViewPopup::threadMessagesFinished @ 0x1400df42d
// > ThreadViewPopup::threadMessagesFinished @ 0x1400df5e6
// > ThreadViewPopup::threadMessagesFinished @ 0x1400df742
// > ThreadViewPopup::threadMessagesFailed @ 0x1400e00cc
// > ??> @ 0x1409148a0
//
// This function is hookable on this platform (idp: pc, 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 11:26:28 +0000
//
void __fastcall ThreadViewPopup::setPollInterval(__int64 a1, float a2)
{
__int64 v3; // rax
if ( *(_BYTE *)(a1 + 783) || (v3 = *(_QWORD *)(a1 + 744), !*(_BYTE *)(v3 + 320)) && *(_DWORD *)(v3 + 324) == 8 )
a2 = 0.0;
if ( a2 != *(float *)(a1 + 932) )
{
*(float *)(a1 + 932) = a2;
cocos2d::CCNode::unschedule(a1, ThreadViewPopup::onAutoRefresh);
if ( *(float *)(a1 + 932) > 0.0 )
cocos2d::CCNode::schedule(a1, ThreadViewPopup::onAutoRefresh);
}
}