// // ObjectManager::loadCopiedSets from 0x3d72b4 to 0x3d7436 (386 bytes) // // 1 xrefs: // > ObjectManager::init @ 0x3d7464 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:46:45 +0000 // unsigned int __fastcall ObjectManager::loadCopiedSets(cocos2d::CCDictionary **this) { unsigned int v2; // r5 cocos2d::CCArray *v3; // r8 unsigned int result; // r0 cocos2d::CCString *v5; // r0 int v6; // r7 cocos2d::CCString *v7; // r11 const char *CString; // r0 const char *v9; // r9 size_t v10; // r0 cocos2d::CCString *v11; // r7 cocos2d::CCString *v12; // r10 cocos2d::CCString *v13; // r9 int v14; // r7 const char *v15; // r0 const char *v16; // r10 size_t v17; // r0 ObjectManager *v18; // r0 cocos2d::CCDictionary *v19; // r3 cocos2d::CCObject *v20; // r9 int v21; // r7 const char *v22; // r0 const char *v23; // r10 size_t v24; // r0 int v25; // [sp+10h] [bp-14h] BYREF int v26; // [sp+14h] [bp-10h] int v27; // [sp+18h] [bp-Ch] v2 = 0; v3 = (cocos2d::CCArray *)cocos2d::CCDictionary::allKeys(*(this + 66)); while ( 1 ) { result = cocos2d::CCArray::count(v3); if ( v2 >= result ) break; v5 = (cocos2d::CCString *)cocos2d::CCArray::objectAtIndex(v3, v2); v6 = (int)*(this + 66); v7 = v5; CString = (const char *)cocos2d::CCString::getCString(v5); v25 = 0; v26 = 0; v27 = 0; v9 = CString; v10 = strlen(CString); std::string::__init(&v25, v9, v10); v11 = (cocos2d::CCString *)cocos2d::CCDictionary::objectForKey(v6, &v25); std::string::~string((int)&v25); v25 = 0; v26 = 0; v27 = 0; std::string::__init(&v25, "copy", 4u); v12 = (cocos2d::CCString *)cocos2d::CCDictionary::objectForKey(v11, &v25); std::string::~string((int)&v25); v25 = 0; v26 = 0; v27 = 0; std::string::__init(&v25, "replaceTag", 0xAu); v13 = (cocos2d::CCString *)cocos2d::CCDictionary::objectForKey(v11, &v25); std::string::~string((int)&v25); if ( v13 ) { if ( v12 ) { v14 = (int)*(this + 66); v15 = (const char *)cocos2d::CCString::getCString(v12); v25 = 0; v26 = 0; v27 = 0; v16 = v15; v17 = strlen(v15); std::string::__init(&v25, v16, v17); v11 = (cocos2d::CCString *)cocos2d::CCDictionary::objectForKey(v14, &v25); std::string::~string((int)&v25); } v25 = 0; v26 = 0; v27 = 0; std::string::__init(&v25, "xyz", 3u); v18 = (ObjectManager *)cocos2d::CCString::create(&v25); v20 = ObjectManager::replaceAllOccurencesOfString(v18, v13, v11, v19); std::string::~string((int)&v25); v21 = (int)*(this + 66); v22 = (const char *)cocos2d::CCString::getCString(v7); v25 = 0; v26 = 0; v27 = 0; v23 = v22; v24 = strlen(v22); std::string::__init(&v25, v23, v24); cocos2d::CCDictionary::setObject(v21, v20); std::string::~string((int)&v25); } ++v2; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source