public static extern void distorm_format(ref _CodeInfo ci, ref _DInst di, ref _DecodedInst result);
private static unsafe DecodedInst CreateDecodedInstObj(_DecodedInst* inst) { return new DecodedInst { Mnemonic = new String(inst->mnemonic.p), Operands = new String(inst->operands.p), Hex = new string(inst->instructionHex.p), Size = inst->size, Offset = inst->offset }; }