//
// cocos2d::CCFileUtils::getClassTypeInfo from 0x18006fcb0 to 0x18006fd88 (216 bytes)
//
// 6 xrefs:
// > ??> @ 0x180100338
// > ??> @ 0x180101060
// > ??> @ 0x18013a450
// > ??> @ 0x18013a46c
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b41c4
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall cocos2d::CCFileUtils::getClassTypeInfo(cocos2d::CCFileUtils *this)
{
__int64 v2; // rax
char *v3; // rbx
int v4; // edi
char *i; // rsi
unsigned __int8 v6; // al
if ( __TSS0__1__getClassTypeInfo_CCFileUtils_cocos2d__UEAAJXZ_4HA <= *(_DWORD *)(*((_QWORD *)NtCurrentTeb()->ThreadLocalStoragePointer
+ (unsigned int)TlsIndex)
+ 4LL) )
return (unsigned int)`cocos2d::CCFileUtils::getClassTypeInfo'::`2'::id;
Init_thread_header(&__TSS0__1__getClassTypeInfo_CCFileUtils_cocos2d__UEAAJXZ_4HA);
if ( __TSS0__1__getClassTypeInfo_CCFileUtils_cocos2d__UEAAJXZ_4HA != -1 )
return (unsigned int)`cocos2d::CCFileUtils::getClassTypeInfo'::`2'::id;
v3 = (char *)_std_type_info_name(&qword_1801A45D0, &unk_1801AC6A0);
v2 = -1;
do
++v2;
while ( v3[v2] );
v4 = 0;
for ( i = &v3[(unsigned int)v2]; v3 < i; v4 = v6 ^ (16777619 * v4) )
v6 = toupper(*v3++);
`cocos2d::CCFileUtils::getClassTypeInfo'::`2'::id = v4;
Init_thread_footer(&__TSS0__1__getClassTypeInfo_CCFileUtils_cocos2d__UEAAJXZ_4HA);
return (unsigned int)`cocos2d::CCFileUtils::getClassTypeInfo'::`2'::id;
}