//
// sub_100930D70 from 0x100930d70 to 0x100930def (127 bytes)
//
// 4 xrefs:
// > sub_100931280 @ 0x10093143b
// > ThreadViewPopup::threadMessagesFinished @ 0x100934e45
// > ThreadViewPopup::threadMessagesFinished @ 0x100935549
// > ThreadViewPopup::threadMessagesFinished @ 0x100935559
//
// 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 12:38:24 +0000
//
__int64 __fastcall sub_100930D70(__int64 a1, float a2)
{
__int64 result; // rax
double v3; // xmm0_8
if ( *(_BYTE *)(a1 + 791)
|| (result = *(_QWORD *)(a1 + 752), !*(_BYTE *)(result + 264)) && *(_DWORD *)(result + 268) == 8 )
{
a2 = 0.0;
}
if ( a2 != *(float *)(a1 + 940) )
{
*(float *)(a1 + 940) = a2;
result = cocos2d::CCNode::unschedule(a1, (__int64)sub_10092EE80, 0);
*(_QWORD *)&v3 = *(unsigned int *)(a1 + 940);
if ( *(float *)&v3 > 0.0 )
return cocos2d::CCNode::schedule_1(a1, (__int64)sub_10092EE80, 0, v3);
}
return result;
}