//
// sub_100936140 from 0x100936140 to 0x1009361ac (108 bytes)
//
// 7 xrefs:
// > sub_10092F710 @ 0x10092f77c
// > ThreadViewPopup::threadSearchFinished @ 0x100931c6b
// > sub_100932150 @ 0x100932176
// > sub_100932150 @ 0x10093218c
// > ThreadViewPopup::threadMessagesFinished @ 0x10093540e
// > sub_100935FF0 @ 0x1009360e0
// > sub_100936140 @ 0x10093619d
//
// 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:26 +0000
//
__int64 __fastcall sub_100936140(__int64 a1)
{
__int64 result; // rax
__int64 v2; // rax
result = *(_QWORD *)(a1 + 824);
if ( result && (float)((float)(*(float *)(result + 432) - *(float *)(result + 436)) - *(float *)(a1 + 844)) < 24.0 )
{
v2 = *(_QWORD *)(a1 + 1024);
if ( v2 )
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v2 + 344LL))(v2, 0);
return cocos2d::CCNode::unschedule(a1, (__int64)sub_100936140, 0);
}
return result;
}