//
// sub_100939D60 from 0x100939d60 to 0x100939e06 (166 bytes)
//
// 1 xrefs:
// > ??> @ 0x100bc2cf8
//
// 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:28 +0000
//
void __fastcall sub_100939D60(__int64 a1)
{
__int64 v1; // rbx
__int64 v2; // rax
_QWORD *v3; // rdi
_DWORD *v4; // rax
v1 = a1 - 336;
if ( *(_BYTE *)(a1 + 768) == 1 )
{
sub_100931280(a1 - 336, 1);
}
else
{
v2 = *(_QWORD *)(a1 + 584);
if ( v2 )
(*(void (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)v2 + 1368LL))(*(_QWORD *)(a1 + 584), 0);
v3 = *(_QWORD **)(a1 + 592);
if ( v3 )
{
v3[73] = 0;
(*(void (__fastcall **)(_QWORD *, _QWORD))(*v3 + 1160LL))(v3, 0);
}
v4 = cocos2d::CCNotificationCenter::sharedNotificationCenter();
cocos2d::CCNotificationCenter::postNotification((__int64)v4, "ThreadsChangedNotification", 0);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v1 + 1072LL))(v1, 0);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v1 + 528LL))(v1, 1);
}
}