No problem and I guess this is more advice than help but if you don't know where to start on a program like this getting somebody else to decompile a program you plan on looking at and getting ideas from it, you might as well just not do it. You'd save yourself a lot of hassle and time for little or no return as the amount of work is just huge to make an editor. Your best just investing your time in actually making a game with RMXP, RMVX or whatever else. Or if you are really set on some C++ program, cut out the program and just code yourself a game engine.