// // EditorSoundConfigInfoLayer::deleteEditorSoundFinished from 0x7857f8 to 0x7858c6 (206 bytes) // // 1 xrefs: // > `non-virtual thunk to'EditorSoundConfigInfoLayer::deleteEditorSoundFinished @ 0x7858dc // // 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:32 +0000 // cocos2d::CCObject *__fastcall EditorSoundConfigInfoLayer::deleteEditorSoundFinished(cocos2d::CCObject *this, int a2) { cocos2d::CCObject *v2; // r7 int v4; // r2 cocos2d::CCArray **v5; // r0 GJEditorSoundConfig *MyConfigForSoundID; // r0 GJEditorSoundConfig *v7; // r5 GJEditorSoundConfig *v8; // r0 unsigned int v9; // r0 cocos2d::CCDirector *v10; // r0 int v11; // r0 cocos2d::CCTouchDispatcher *v12; // r0 FLAlertLayer *v13; // r0 int *v14; // r0 int v15[3]; // [sp+8h] [bp-14h] BYREF v2 = this; v4 = *((_DWORD *)this + 187); if ( !v4 || a2 == *(_DWORD *)(v4 + 264) ) { v5 = (cocos2d::CCArray **)EditorSFXManager::sharedState(this); MyConfigForSoundID = (GJEditorSoundConfig *)EditorSFXManager::getMyConfigForSoundID(v5, a2); v7 = MyConfigForSoundID; if ( MyConfigForSoundID ) GJEditorSoundConfig::clearServerState(MyConfigForSoundID); v8 = *((GJEditorSoundConfig **)v2 + 187); if ( v8 && v8 != v7 && *((_BYTE *)v8 + 272) ) v8 = (GJEditorSoundConfig *)GJEditorSoundConfig::clearServerState(v8); v9 = EditorSFXManager::sharedState(v8); v10 = (cocos2d::CCDirector *)EditorSFXManager::removeFavoriteConfig(v9, a2); v11 = cocos2d::CCDirector::sharedDirector(v10); v12 = (cocos2d::CCTouchDispatcher *)(*(int (__fastcall **)(int))(*(_DWORD *)v11 + 80))(v11); cocos2d::CCTouchDispatcher::unregisterForcePrio(v12, v2); v13 = *((FLAlertLayer **)v2 + 189); if ( v13 ) EditorSoundBrowserLayer::onConfigListChanged(v13); memset(v15, 0, sizeof(v15)); std::string::__init(v15, "Sound pack removed from the server.", 0x23u); v14 = FLAlertLayer::create(0, (cocos2d::CCLabelBMFont *)"Deleted", (int)v15, (ButtonSprite *)"OK", nullptr); (*(void (__fastcall **)(int *))(*v14 + 656))(v14); std::string::~string((int)v15); return (cocos2d::CCObject *)(*(int (__fastcall **)(cocos2d::CCObject *, _DWORD))(*(_DWORD *)v2 + 684))(v2, 0); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source