// // EditorSFXManager::addFavoriteConfig from 0x77d44c to 0x77d4a0 (84 bytes) // // 1 xrefs: // > EditorSoundConfigInfoLayer::onFavorite @ 0x7852a8 // // 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:59:24 +0000 // cocos2d::CCArray *__fastcall EditorSFXManager::addFavoriteConfig(cocos2d::CCArray *this, GJEditorSoundConfig *a2) { cocos2d::CCArray *v2; // r4 cocos2d::CCObject *v4; // r0 unsigned int i; // r5 int v6; // r0 v2 = this; if ( a2 ) { if ( !*((_DWORD *)this + 18) ) { v4 = (cocos2d::CCObject *)cocos2d::CCArray::create(this); *((_DWORD *)v2 + 18) = v4; cocos2d::CCObject::retain(v4); } for ( i = 0; i < cocos2d::CCArray::count(*((cocos2d::CCArray **)v2 + 18)); ++i ) { v6 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)v2 + 18), i); if ( v6 && *(_DWORD *)(v6 + 264) == *((_DWORD *)a2 + 66) ) { cocos2d::CCArray::removeObjectAtIndex(*((cocos2d::CCArray **)v2 + 18), i, 1); return (cocos2d::CCArray *)cocos2d::CCArray::addObject(*((cocos2d::CCArray **)v2 + 18), a2); } } return (cocos2d::CCArray *)cocos2d::CCArray::addObject(*((cocos2d::CCArray **)v2 + 18), a2); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source