// // EditorSoundConfigInfoLayer::deleteEditorSoundFinished from 0x1008f99c0 to 0x1008f9afc (316 bytes) // // 2 xrefs: // > sub_1008F9B20 @ 0x1008f9b2c // > @ 0x100bb6090 // // This function is hookable on this platform (idp: pc, 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 12:37:59 +0000 // __int64 __fastcall EditorSoundConfigInfoLayer::deleteEditorSoundFinished(_QWORD *a1, int a2) { __int64 result; // rax __int64 v4; // rax __int64 v5; // rax __int64 v6; // r15 __int64 v7; // rdi __int64 v8; // rax __int64 v9; // rax __int64 v10; // rax __int64 v11; // rdi __int64 v12; // rax __int128 v13; // [rsp+0h] [rbp-30h] BYREF void *__p; // [rsp+10h] [rbp-20h] result = a1[136]; if ( !result || *(_DWORD *)(result + 316) == a2 ) { v4 = EditorSFXManager::sharedState(); v5 = sub_1008ED520(v4, a2); v6 = v5; if ( v5 ) sub_100907BC0(v5); v7 = a1[136]; if ( v7 != 0 && v7 != v6 && *(_BYTE *)(v7 + 324) == 1 ) sub_100907BC0(v7); v8 = EditorSFXManager::sharedState(); sub_1008ED1A0(v8, a2); v9 = cocos2d::CCDirector::sharedDirector(); v10 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v9 + 160LL))(v9); cocos2d::CCTouchDispatcher::unregisterForcePrio(v10, (__int64)a1); v11 = a1[138]; if ( v11 ) sub_1008F18A0(v11); __p = operator new(0x28u); *(_QWORD *)&v13 = 41; *((_QWORD *)&v13 + 1) = 35; strcpy((char *)__p, "Sound pack removed from the server."); v12 = sub_100493AB0(0, (__int64)"Deleted", &v13, (__int64)"OK", 0); (*(void (__fastcall **)(__int64))(*(_QWORD *)v12 + 1312LL))(v12); if ( (v13 & 1) != 0 ) operator delete(__p); return (*(__int64 (__fastcall **)(_QWORD *, _QWORD))(*a1 + 1368LL))(a1, 0); } return result; }