//
// sub_1800E4CC4 from 0x1800e4cc4 to 0x1800e4d2d (105 bytes)
//
// 10 xrefs:
// > cocos2d::CCCallFuncN::getClassTypeInfo @ 0x18003095f
// > cocos2d::CCCallFuncND::getClassTypeInfo @ 0x1800309df
// > cocos2d::CCCallFuncO::getClassTypeInfo @ 0x180030a5f
// > cocos2d::CCFileUtils::getClassTypeInfo @ 0x180071e1f
// > cocos2d::CCImage::initWithString @ 0x18008029f
// > cocos2d::CCTouchDispatcher::touchesBegan @ 0x1800b743f
// > cocos2d::CCIMEDispatcher::sharedDispatcher @ 0x1800b8b09
// > cocos2d::CCDirector::getClassTypeInfo @ 0x1800c1d7f
// > ??> @ 0x1801c54c0
// > ??> @ 0x1801c54cc
//
// 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:22:38 +0000
//
void __fastcall sub_1800E4CC4(_DWORD *a1)
{
__int64 v2; // rdx
AcquireSRWLockExclusive(&SRWLock);
v2 = (unsigned int)TlsIndex;
*a1 = ++dword_1801AE30C;
*(_DWORD *)(*((_QWORD *)NtCurrentTeb()->ThreadLocalStoragePointer + v2) + 4LL) = dword_1801AE30C;
ReleaseSRWLockExclusive(&SRWLock);
WakeAllConditionVariable(&ConditionVariable);
}