// // GJBaseGameLayer::getGroupParentsString from 0x9ec38c to 0x9ec604 (632 bytes) // // 2 xrefs: // > GameObject::getSaveString @ 0x783108 // > @ 0xfe800 // // 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:59:03 +0000 // __int64 *__usercall GJBaseGameLayer::getGroupParentsString@( __int64 *__return_ptr a1@, cocos2d::CCDictionary **this@, GameObject *a3@) { cocos2d::CCArray *v4; // x0 cocos2d::CCArray *v5; // x22 unsigned int v6; // w21 int v7; // w24 signed int v8; // w19 size_t v9; // x28 size_t v10; // x24 cocos2d::CCArray *v11; // x0 cocos2d::CCArray *v12; // x24 size_t v14; // x28 size_t v15; // x24 size_t v16; // x19 const char *v17; // x0 size_t v18; // x0 void *v21; // [xsp+68h] [xbp+68h] size_t v22; // [xsp+78h] [xbp+78h] BYREF unsigned __int64 v23; // [xsp+80h] [xbp+80h] _BYTE *v24; // [xsp+88h] [xbp+88h] _BYTE v25[504]; // [xsp+90h] [xbp+90h] BYREF v4 = (cocos2d::CCArray *)cocos2d::CCDictionary::objectForKey(*(this + 462), *((unsigned int *)a3 + 229)); v5 = v4; if ( v4 && (unsigned int)cocos2d::CCArray::count(v4) ) { v6 = 0; v22 = 0; v7 = 1; v23 = 500; v24 = v25; while ( v6 < (unsigned int)cocos2d::CCArray::count(v5) ) { v8 = *(_DWORD *)(cocos2d::CCArray::objectAtIndex(v5, v6) + 56); if ( v8 > 0 ) { if ( !v7 ) { v9 = v22; v10 = v22 + 1; if ( v22 + 1 > v23 ) fmt::internal::Array::grow(&v22, v22 + 1); v22 = v10; v24[v9] = 46; } v11 = (cocos2d::CCArray *)cocos2d::CCDictionary::objectForKey(*(this + 461), v8); v12 = v11; if ( v11 && (unsigned int)cocos2d::CCArray::count(v11) && a3 == (GameObject *)cocos2d::CCArray::objectAtIndex(v12, 0) ) { v14 = v22; v15 = v22 + 1; if ( v22 + 1 > v23 ) fmt::internal::Array::grow(&v22, v22 + 1); v22 = v15; v24[v14] = asc_1169920[0]; } fmt::BasicWriter::FormatInt,char>>(&v22, v8); v7 = 0; } ++v6; } v16 = v22; if ( v22 + 1 > v23 ) fmt::internal::Array::grow(&v22, v22 + 1); v24[v16] = 0; v21 = v24; v17 = v24; *a1 = 0; a1[1] = 0; a1[2] = 0; v18 = strlen(v17); std::string::__init(a1, v21, v18); if ( v24 != v25 && v24 ) operator delete[](v24); } else { *a1 = 0; a1[1] = 0; a1[2] = 0; std::string::__init(a1, &byte_11B8890, 0); } return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source