// // cocos2d::CCAnimationCache::addAnimationsWithFile from 0xb146f4 to 0xb147d4 (224 bytes) // // 1 xrefs: // > @ 0x488a0 // // 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 // void cocos2d::CCAnimationCache::addAnimationsWithFile(cocos2d::CCAnimationCache *a1, const char *a2) { cocos2d::CCFileUtils *v4; // x0 cocos2d::CCDictionary *v5; // x0 int *p_m_uOrderOfArrival; // x0 unsigned int *p_m_eDictType; // x2 cocos2d::CCDictionary::CCDictType m_eDictType; // w1 cocos2d::CCDictionary *v9; // [xsp+40h] [xbp+40h] BYREF v4 = cocos2d::CCFileUtils::sharedFileUtils(); ((void (__fastcall *)(cocos2d::CCDictionary **__return_ptr, cocos2d::CCFileUtils *, const char *, _QWORD))v4->createCCArrayWithContentsOfFile)( &v9, v4, a2, 0); v5 = cocos2d::CCDictionary::createWithContentsOfFile((const char *)v9); cocos2d::CCAnimationCache::addAnimationsWithDictionary(a1, v5, a2); p_m_uOrderOfArrival = &v9[-1].m_uOrderOfArrival; if ( &v9[-1].m_uOrderOfArrival != (int *)&qword_124B6B0 ) { if ( &pthread_create ) { p_m_eDictType = (unsigned int *)&v9[-1].m_eDictType; do m_eDictType = __ldaxr(p_m_eDictType); while ( __stlxr(m_eDictType - 1, p_m_eDictType) ); } else { m_eDictType = v9[-1].m_eDictType; v9[-1].m_eDictType = m_eDictType - 1; } if ( (int)m_eDictType <= (int)kCCDictUnknown ) operator delete(p_m_uOrderOfArrival); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source