// // cocos2d::CCDirector::getClassTypeInfo from 0x5c2948 to 0x5c29a2 (90 bytes) // // 1 xrefs: // > `non-virtual thunk to'cocos2d::CCDirector::getClassTypeInfo @ 0x5c29bc // // 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 // int __fastcall cocos2d::CCDirector::getClassTypeInfo(cocos2d::CCDirector *this) { char v1; // r4 int v2; // r4 int v3; // r0 int v4; // r8 int v5; // r0 v1 = `guard variable for'cocos2d::CCDirector::getClassTypeInfo(void)::id; __dmb(0xFu); v2 = v1 & 1; if ( !v2 && _cxa_guard_acquire((__guard *)&`guard variable for'cocos2d::CCDirector::getClassTypeInfo(void)::id) ) { v3 = 0; do { v4 = 16777619 * v3; v5 = (unsigned __int8)`typeinfo name for'cocos2d::CCDirector[v2++]; v3 = (unsigned __int8)toupper(v5) ^ v4; } while ( v2 != 22 ); cocos2d::CCDirector::getClassTypeInfo(void)::id = v3; _cxa_guard_release((__guard *)&`guard variable for'cocos2d::CCDirector::getClassTypeInfo(void)::id); } return cocos2d::CCDirector::getClassTypeInfo(void)::id; }
GD Web Decomp Icon

GD Web Decomp

Raw Source