// // EditorSFXManager::copyFavoriteToMyConfig from 0x77f470 to 0x77f57c (268 bytes) // // 1 xrefs: // > EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0x7889e0 // // 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:27 +0000 // int __fastcall EditorSFXManager::copyFavoriteToMyConfig( cocos2d::CCArray **this, GJEditorSoundConfig *a2, int a3, int a4) { cocos2d::CCObject *v7; // r0 GJEditorSoundConfig *v8; // r0 int v9; // r0 int v10; // r4 int v11; // r3 int v12[4]; // [sp+0h] [bp-10h] BYREF v12[0] = (int)this; v12[1] = (int)a2; v12[2] = a3; v12[3] = a4; if ( !a2 ) return 0; if ( !*(this + 19) ) { v7 = (cocos2d::CCObject *)cocos2d::CCArray::create((cocos2d::CCArray *)this); *(this + 19) = v7; cocos2d::CCObject::retain(v7); } v8 = (GJEditorSoundConfig *)cocos2d::CCArray::count(*(this + 19)); if ( (unsigned int)v8 > 0x31 ) return 0; v9 = GJEditorSoundConfig::create(v8); v10 = v9; if ( !v9 ) return 0; v11 = (int)*(this + 20); *(this + 20) = (cocos2d::CCArray *)(v11 + 1); *(_DWORD *)(v9 + 268) = v11; *(_BYTE *)(v9 + 272) = 1; *(_DWORD *)(v9 + 264) = 0; *(_DWORD *)(v9 + 284) = *((_DWORD *)a2 + 66); *(_DWORD *)(v9 + 288) = *((_DWORD *)a2 + 72); std::string::basic_string(v12, (int)a2 + 324); std::string::operator=((unsigned __int8 *)(v10 + 324), (unsigned __int8 *)v12); std::string::~string((int)v12); std::string::basic_string(v12, (int)a2 + 336); std::string::operator=((unsigned __int8 *)(v10 + 336), (unsigned __int8 *)v12); std::string::~string((int)v12); *(_DWORD *)(v10 + 308) = *((_DWORD *)a2 + 77); *(_DWORD *)(v10 + 276) = 1; *(_DWORD *)(v10 + 280) = 0; *(_DWORD *)(v10 + 300) = *((_DWORD *)a2 + 75); *(_DWORD *)(v10 + 304) = *((_DWORD *)a2 + 76); std::string::basic_string(v12, (int)a2 + 372); std::string::operator=((unsigned __int8 *)(v10 + 372), (unsigned __int8 *)v12); std::string::~string((int)v12); *(_BYTE *)(v10 + 384) = *((_BYTE *)a2 + 384); cocos2d::CCArray::insertObject(*(this + 19), (cocos2d::CCObject *)v10, 0); return v10; }
GD Web Decomp Icon

GD Web Decomp

Raw Source