//
// cocos2d::CCDirector::getClassTypeInfo from 0x1800c1d40 to 0x1800c1e11 (209 bytes)
//
// 6 xrefs:
// > ??> @ 0x18010dac8
// > ??> @ 0x18010dbd8
// > ??> @ 0x18014b154
// > ??> @ 0x18014b170
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c3450
//
// 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:25 +0000
//
__int64 __fastcall cocos2d::CCDirector::getClassTypeInfo(cocos2d::CCDirector *this)
{
const char *v2; // rbx
int v3; // edi
const char *i; // rsi
unsigned __int8 v5; // al
if ( __TSS0__1__getClassTypeInfo_CCDirector_cocos2d__UEAAJXZ_4HA <= *(_DWORD *)(*((_QWORD *)NtCurrentTeb()->ThreadLocalStoragePointer
+ (unsigned int)TlsIndex)
+ 4LL) )
return (unsigned int)`cocos2d::CCDirector::getClassTypeInfo'::`2'::id;
sub_1800E4D30(&__TSS0__1__getClassTypeInfo_CCDirector_cocos2d__UEAAJXZ_4HA);
if ( __TSS0__1__getClassTypeInfo_CCDirector_cocos2d__UEAAJXZ_4HA != -1 )
return (unsigned int)`cocos2d::CCDirector::getClassTypeInfo'::`2'::id;
v2 = (const char *)_std_type_info_name(&qword_1801AE6A8, &unk_1801B6720);
v3 = 0;
for ( i = &v2[(unsigned int)strlen(v2)]; v2 < i; v3 = v5 ^ (16777619 * v3) )
v5 = toupper(*v2++);
`cocos2d::CCDirector::getClassTypeInfo'::`2'::id = v3;
sub_1800E4CC4(&__TSS0__1__getClassTypeInfo_CCDirector_cocos2d__UEAAJXZ_4HA);
return (unsigned int)`cocos2d::CCDirector::getClassTypeInfo'::`2'::id;
}