//
// cocos2d::CCFileUtils::getClassTypeInfo from 0xb047f4 to 0xb0489c (168 bytes)
//
// 3 xrefs:
// > ??> @ 0xa8e70
// > ??> @ 0x1217a90
// > ??> @ 0x1217f50
//
// 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)
{
unsigned __int8 v1; // w1
__int64 v3; // x20
__int64 v4; // x1
int v5; // w0
v1 = atomic_load((unsigned __int8 *)&`guard variable for'cocos2d::CCFileUtils::getClassTypeInfo(void)::id);
if ( (v1 & 1) != 0
|| !_cxa_guard_acquire((__guard *)&`guard variable for'cocos2d::CCFileUtils::getClassTypeInfo(void)::id) )
{
return cocos2d::CCFileUtils::getClassTypeInfo(void)::id;
}
v3 = 0;
LODWORD(v4) = 0;
do
{
v5 = (unsigned __int8)`typeinfo name for'cocos2d::CCFileUtils[v3++];
v4 = (unsigned __int8)toupper(v5) ^ (unsigned int)(16777619 * v4);
}
while ( v3 != 23 );
cocos2d::CCFileUtils::getClassTypeInfo(void)::id = v4;
_cxa_guard_release((__guard *)&`guard variable for'cocos2d::CCFileUtils::getClassTypeInfo(void)::id);
return cocos2d::CCFileUtils::getClassTypeInfo(void)::id;
}