// // ObjectManager::setup from 0x6ad8a8 to 0x6adb44 (668 bytes) // // 2 xrefs: // > LoadingLayer::loadAssets @ 0x6edff8 // > @ 0x105328 // // 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 12:50:49 +0000 // __int64 __fastcall ObjectManager::setup(cocos2d::CCDictionary **this) { unsigned int v1; // w23 cocos2d::CCArray *v2; // x25 cocos2d::CCString *v3; // x0 const char *CString; // x0 size_t v5; // x0 char *v6; // x22 size_t v7; // x0 _BOOL4 v8; // w22 char *v9; // x28 unsigned __int64 v10; // x0 char *v11; // x22 __int64 v12; // x0 const char *v13; // x1 size_t v14; // x0 char *v16; // [xsp+68h] [xbp+68h] char *v17; // [xsp+68h] [xbp+68h] __int64 v18; // [xsp+78h] [xbp+78h] BYREF unsigned __int64 v19; // [xsp+80h] [xbp+80h] void *v20; // [xsp+88h] [xbp+88h] __int64 v21[2]; // [xsp+90h] [xbp+90h] BYREF void *v22; // [xsp+A0h] [xbp+A0h] __int64 v23[2]; // [xsp+A8h] [xbp+A8h] BYREF void *v24; // [xsp+B8h] [xbp+B8h] __int64 v25[2]; // [xsp+C0h] [xbp+C0h] BYREF void *v26; // [xsp+D0h] [xbp+D0h] v1 = 0; v2 = (cocos2d::CCArray *)cocos2d::CCDictionary::allKeys(*(this + 40)); if ( (unsigned int)cocos2d::CCArray::count(v2) ) { do { v3 = (cocos2d::CCString *)cocos2d::CCArray::objectAtIndex(v2, v1); CString = (const char *)cocos2d::CCString::getCString(v3); v18 = 0; v19 = 0; v20 = nullptr; v16 = (char *)CString; v5 = strlen(CString); std::string::__init(&v18, v16, v5); v6 = (char *)&v18 + 1; if ( (v18 & 1) != 0 ) v6 = (char *)v20; v21[0] = 0; v21[1] = 0; v22 = nullptr; v7 = strlen(v6); std::string::__init(v21, v6, v7); v23[0] = 0; v23[1] = 0; v24 = nullptr; std::string::__init(v23, "GlobalAnimations", 0x10u); v8 = 0; if ( !sub_6ACFE4((__int64)v21, (__int64)v23) ) { if ( (v18 & 1) != 0 ) { v9 = (char *)v20; v10 = v19; } else { v10 = (unsigned __int8)v18 >> 1; v9 = (char *)&v18 + 1; } v8 = v10 <= 2 || (v11 = &v9[v10], v12 = std::__search( (__int64)v9, (__int64)&v9[v10], "xyz", (unsigned __int8 *)"", (unsigned __int8 (__fastcall *)(__int64, _QWORD))std::char_traits::eq), v11 == (char *)v12) || v12 - (_QWORD)v9 == -1; } if ( (v23[0] & 1) != 0 ) operator delete(v24); if ( (v21[0] & 1) != 0 ) operator delete(v22); if ( v8 ) { v13 = (char *)&v18 + 1; if ( (v18 & 1) != 0 ) v13 = (const char *)v20; v17 = (char *)v13; v25[0] = 0; v25[1] = 0; v26 = nullptr; v14 = strlen(v13); std::string::__init(v25, v17, v14); SpriteAnimationManager::createAnimations(v25); if ( (v25[0] & 1) != 0 ) operator delete(v26); } ++v1; if ( (v18 & 1) != 0 ) operator delete(v20); } while ( v1 < (unsigned int)cocos2d::CCArray::count(v2) ); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source