// // cocos2d::CCDictionary::allKeysForObject from 0xd41af0 to 0xd41c3c (332 bytes) // // 2 xrefs: // > cocos2d::CCTextureCache::removeTexture @ 0xda55f4 // > @ 0x70948 // // 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 13:07:31 +0000 // cocos2d::CCArray *__fastcall cocos2d::CCDictionary::allKeysForObject( cocos2d::CCDictionary *this, cocos2d::CCObject *a2) { cocos2d::CCArray *v4; // x0 cocos2d::CCArray *v5; // x22 int v6; // w0 bool v7; // zf cocos2d::CCArray *result; // x0 __int64 v9; // x1 __int64 v10; // x19 cocos2d::CCString *v11; // x21 __int64 v12; // x21 __int64 v13; // x19 cocos2d::CCObject *v14; // x0 __int64 v15; // x21 cocos2d::CCObject *v16; // x23 char *v17; // [xsp+48h] [xbp+48h] v4 = (cocos2d::CCArray *)cocos2d::CCDictionary::count(this); if ( (int)v4 <= 0 ) return nullptr; v5 = (cocos2d::CCArray *)cocos2d::CCArray::create(v4); v6 = *((_DWORD *)this + 16); if ( v6 == 1 ) { v9 = *((_QWORD *)this + 7); if ( v9 ) { v10 = *(_QWORD *)(v9 + 288); if ( *(cocos2d::CCObject **)(v9 + 264) == a2 ) goto LABEL_9; while ( v10 ) { while ( 1 ) { v9 = v10; v10 = *(_QWORD *)(v10 + 288); if ( *(cocos2d::CCObject **)(v9 + 264) != a2 ) break; LABEL_9: v17 = (char *)v9; v11 = (cocos2d::CCString *)operator new(0x50u); cocos2d::CCString::CCString(v11, v17); cocos2d::CCArray::addObject(v5, v11); cocos2d::CCObject::release(v11); if ( !v10 ) return v5; } } } return v5; } v7 = v6 == 2; result = v5; if ( v7 ) { v12 = *((_QWORD *)this + 7); if ( v12 ) { v13 = *(_QWORD *)(v12 + 288); if ( *(cocos2d::CCObject **)(v12 + 264) == a2 ) goto LABEL_15; while ( v13 ) { v12 = v13; v13 = *(_QWORD *)(v13 + 288); if ( *(cocos2d::CCObject **)(v12 + 264) == a2 ) { LABEL_15: v14 = (cocos2d::CCObject *)operator new(0x40u); v15 = *(_QWORD *)(v12 + 256); v16 = v14; cocos2d::CCObject::CCObject(v14); *((_DWORD *)v16 + 14) = v15; *(_QWORD *)v16 = &off_1428350; cocos2d::CCArray::addObject(v5, v16); cocos2d::CCObject::release(v16); } } return v5; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source