// // EditorSoundConfigInfoLayer::deleteEditorSoundFinished from 0x1004d45c0 to 0x1004d46d0 (272 bytes) // // 2 xrefs: // > sub_1004D46EC @ 0x1004d46f0 // > @ 0x100989098 // // 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 11:06:30 +0000 // __int64 __fastcall EditorSoundConfigInfoLayer::deleteEditorSoundFinished(__int64 result, int a2) { _QWORD *v3; // x19 __int64 v4; // x8 __int64 v5; // x0 __int64 v6; // x0 __int64 v7; // x21 __int64 v8; // x0 __int64 v9; // x0 __int64 v10; // x0 __int64 v11; // x0 __int64 v12; // x0 __int64 v13; // x0 void *__p[2]; // [xsp+8h] [xbp-38h] BYREF char v15; // [xsp+1Fh] [xbp-21h] v3 = (_QWORD *)result; v4 = *(_QWORD *)(result + 1088); if ( !v4 || *(_DWORD *)(v4 + 316) == a2 ) { v5 = EditorSFXManager::sharedState(); v6 = sub_1004CB090(v5, a2); v7 = v6; if ( v6 ) sub_1004DEA24(v6); v8 = v3[136]; if ( v8 && v8 != v7 && *(_BYTE *)(v8 + 324) == 1 ) sub_1004DEA24(v8); v9 = EditorSFXManager::sharedState(); sub_1004CAE14(v9, a2); v10 = cocos2d::CCDirector::sharedDirector(); v11 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v10 + 160LL))(v10); cocos2d::CCTouchDispatcher::unregisterForcePrio(v11, (__int64)v3); v12 = v3[138]; if ( v12 ) j_FLAlertLayer::requestRebuild(v12); sub_100009900(__p, "Sound pack removed from the server."); v13 = sub_10034A8F8(0, (__int64)"Deleted", (__int64)__p, (__int64)"OK", 0); (*(void (__fastcall **)(__int64))(*(_QWORD *)v13 + 1312LL))(v13); if ( v15 < 0 ) operator delete(__p[0]); return (*(__int64 (__fastcall **)(_QWORD *, _QWORD))(*v3 + 1368LL))(v3, 0); } return result; }