// // ObjectManager::loadCopiedAnimations from 0x2f1d98 to 0x2f1eda (322 bytes) // // 1 xrefs: // > ObjectManager::init @ 0x2f233a // // 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 ObjectManager::loadCopiedAnimations(ObjectManager *a1) { unsigned int v2; // r5 cocos2d::CCArray *v3; // r10 cocos2d::CCString *v4; // r0 cocos2d::CCDictionary *m_objectDefinitions; // r7 char *CString; // r0 cocos2d::CCDictionary *v7; // r7 cocos2d::CCDictionary *v8; // r7 unsigned int v9; // r6 cocos2d::CCArray *v10; // r11 char *v11; // r0 const char *v12; // r0 char *v13; // r0 cocos2d::CCString *v14; // [sp+4h] [bp-28h] cocos2d::CCDictionary *v15; // [sp+14h] [bp-18h] cocos2d::CCString *v16; // [sp+14h] [bp-18h] cocos2d::CCDictionary *GlobalAnimCopy; // [sp+14h] [bp-18h] std::string v18; // [sp+20h] [bp-Ch] BYREF v2 = 0; v3 = cocos2d::CCDictionary::allKeys(a1->m_objectDefinitions); while ( v2 < cocos2d::CCArray::count(v3) ) { v4 = (cocos2d::CCString *)cocos2d::CCArray::objectAtIndex(v3, v2); m_objectDefinitions = a1->m_objectDefinitions; CString = (char *)cocos2d::CCString::getCString(v4); sub_776584((int)&v18, CString); v7 = (cocos2d::CCDictionary *)cocos2d::CCDictionary::objectForKey(m_objectDefinitions, &v18); sub_774008(&v18); sub_776584((int)&v18, "animations"); v8 = (cocos2d::CCDictionary *)cocos2d::CCDictionary::objectForKey(v7, &v18); sub_774008(&v18); if ( v8 ) { v9 = 0; v10 = cocos2d::CCDictionary::allKeys(v8); while ( v9 < cocos2d::CCArray::count(v10) ) { v14 = (cocos2d::CCString *)cocos2d::CCArray::objectAtIndex(v10, v9); v11 = (char *)cocos2d::CCString::getCString(v14); sub_776584((int)&v18, v11); v15 = (cocos2d::CCDictionary *)cocos2d::CCDictionary::objectForKey(v8, &v18); sub_774008(&v18); sub_776584((int)&v18, "copy"); v16 = (cocos2d::CCString *)cocos2d::CCDictionary::objectForKey(v15, &v18); sub_774008(&v18); if ( v16 ) { v12 = cocos2d::CCString::getCString(v16); GlobalAnimCopy = ObjectManager::getGlobalAnimCopy(a1, v12); v13 = (char *)cocos2d::CCString::getCString(v14); sub_776584((int)&v18, v13); cocos2d::CCDictionary::setObject((int)v8, GlobalAnimCopy); sub_774008(&v18); } ++v9; } } ++v2; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source