//
// cocos2d::CCDirector::getClassTypeInfo from 0xd4865c to 0xd48704 (168 bytes)
//
// 4 xrefs:
// > `non-virtual thunk to'cocos2d::CCDirector::getClassTypeInfo @ 0xd48708
// > ??> @ 0x94780
// > ??> @ 0x15167a8
// > ??> @ 0x15168d8
//
// This function is hookable on this platform (idp: arm, 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 13:07:36 +0000
//
__int64 __fastcall cocos2d::CCDirector::getClassTypeInfo(cocos2d::CCDirector *this)
{
unsigned __int8 v1; // w1
__int64 v3; // x20
__int64 v4; // x1
int v5; // w0
v1 = atomic_load((unsigned __int8 *)&`guard variable for'cocos2d::CCDirector::getClassTypeInfo(void)::id);
if ( (v1 & 1) != 0
|| !_cxa_guard_acquire((__guard *)&`guard variable for'cocos2d::CCDirector::getClassTypeInfo(void)::id) )
{
return cocos2d::CCDirector::getClassTypeInfo(void)::id;
}
v3 = 0;
LODWORD(v4) = 0;
do
{
v5 = (unsigned __int8)`typeinfo name for'cocos2d::CCDirector[v3++];
v4 = (unsigned __int8)toupper(v5) ^ (unsigned int)(16777619 * v4);
}
while ( v3 != 22 );
cocos2d::CCDirector::getClassTypeInfo(void)::id = v4;
_cxa_guard_release((__guard *)&`guard variable for'cocos2d::CCDirector::getClassTypeInfo(void)::id);
return cocos2d::CCDirector::getClassTypeInfo(void)::id;
}